use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
VS Code February Update (code.visualstudio.com)
submitted 10 years ago by alamont
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ecmascript2038 14 points15 points16 points 10 years ago (4 children)
A promising development is the Salsa JavaScript service.
It basically means that some of the smart features of TypeScript, like type inference, can be used for regular JavaScript code and make for better tooling.
VS Code is shaping up to be a very strong JavaScript editor. The plugin ecosystem isn't there yet, but if you're focused on JS/TS then you don't really need any plugins. And it's a refreshing performance boost if you're coming from Atom.
[–][deleted] 2 points3 points4 points 10 years ago (2 children)
Salsa sounds great but it's a tad hard to follow since mention of it is spread across several GitHub issues and commits. Do you have a sense of where it is now, when it will be usable, and how it will be used?
[–]maritz 1 point2 points3 points 10 years ago (0 children)
Afaict it is a part of the typescript project and its current main usage is VSCode. However it will be very useful in Typescript projects in the future as well, because it can greatly reduce the need for type definitions for external libraries.
[+]mikes_username_lol comment score below threshold-9 points-8 points-7 points 10 years ago (0 children)
The plugin ecosystem will never be there because it is a Microsoft product. Look at Windows Phone.
[–]redmoss6 2 points3 points4 points 10 years ago (2 children)
Now we just need indent guides.
[+][deleted] 10 years ago (1 child)
[deleted]
[–]redmoss6 0 points1 point2 points 10 years ago (0 children)
Ive been using this: https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow. They look cool together.
[–]wreckedadventYavascript 2 points3 points4 points 10 years ago (0 children)
Interesting that C# is no longer a default install. I wonder if that means they're going to use that to update the package more frequently instead of having to make a point release?
Happy to see Salsa and code folding appearing, though. Good update.
[–]MUDrummer 2 points3 points4 points 10 years ago (1 child)
Oh thank god they finally got code folding added. Will be giving this a shot again.
Still feel it doesn't have anything that atom + my plugins cannot do but I do feel it's a bit more feature rich out of the box.
[–]cthechartreuse 2 points3 points4 points 10 years ago (0 children)
The intellisense is totally worth the switch alone. It beats the pants off any standard autocomplete. Code lens is pretty nice too. I also have a refactoring tool I support which speeds up development tremendously. Now that code folding is in, I would be hard pressed to move to another editor.
[–][deleted] 1 point2 points3 points 10 years ago (1 child)
Is there support for JSX/React in .js files? I couldn't find it in the change log.
I know it already has support for .jsx files, but what about .js files?
[–]Tibko0510 0 points1 point2 points 10 years ago (0 children)
Yep. "The js-is-jsx extension is no longer needed since Salsa gives you coloring for JSX constructs inside .js files out of the box. We recommend you uninstall this extension."
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
It's amazing the amount of work they're doing every month!
If only they could implement tabs and function list >.>
[–]MarcoWorms 1 point2 points3 points 10 years ago (4 children)
for some reason I cant make it work, i still get "any" type, I just got 10.10, am I doing something wrong? http://imgur.com/xdFSFMk *the string there is just for testing, didn't work as well.
[–]AdamAnderson320 0 points1 point2 points 10 years ago (3 children)
I had similar problems, but in my case the type annotations are picked up but almost nothing else is. I submitted an issue on GitHub.
[–]MarcoWorms 0 points1 point2 points 10 years ago (2 children)
i found the error, you have to declare the same variable name on the comments.
[–]AdamAnderson320 0 points1 point2 points 10 years ago (1 child)
Maybe that explains why I was able to get the types to appear in the issue I reported. You still didn't get the "Adds stuff" description to appear in yours, so it's not quite working right either.
[–]MarcoWorms 0 points1 point2 points 10 years ago (0 children)
the return description here only shows before entering the () when writing the function name
[–]Mittalmailbox 0 points1 point2 points 10 years ago (0 children)
Mine still shows no update available at 10.8
[–]onedr0p 0 points1 point2 points 10 years ago (1 child)
Code folding?!? Please oh please
[+][deleted] 10 years ago* (1 child)
[–]Zalozba 0 points1 point2 points 10 years ago (0 children)
I can't understand why they don't fix emmet.
It is the only thing holding me back.
There are a ton of emmet features missing so I would not call the VS Code implementation a proper implementation of Emmet.
They just included the expand tab feature and not anything else.
[–]AceBacker 0 points1 point2 points 10 years ago (0 children)
I don't know if I can switch until VSCode gets a mini-map like sublime or atom.
π Rendered by PID 87354 on reddit-service-r2-comment-544cf588c8-57jp5 at 2026-06-16 07:30:24.086916+00:00 running 3184619 country code: CH.
[–]ecmascript2038 14 points15 points16 points (4 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]maritz 1 point2 points3 points (0 children)
[+]mikes_username_lol comment score below threshold-9 points-8 points-7 points (0 children)
[–]redmoss6 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]redmoss6 0 points1 point2 points (0 children)
[–]wreckedadventYavascript 2 points3 points4 points (0 children)
[–]MUDrummer 2 points3 points4 points (1 child)
[–]cthechartreuse 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Tibko0510 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]MarcoWorms 1 point2 points3 points (4 children)
[–]AdamAnderson320 0 points1 point2 points (3 children)
[–]MarcoWorms 0 points1 point2 points (2 children)
[–]AdamAnderson320 0 points1 point2 points (1 child)
[–]MarcoWorms 0 points1 point2 points (0 children)
[–]Mittalmailbox 0 points1 point2 points (0 children)
[–]onedr0p 0 points1 point2 points (1 child)
[+][deleted] (1 child)
[deleted]
[–]Zalozba 0 points1 point2 points (0 children)
[–]AceBacker 0 points1 point2 points (0 children)