12 ms·
VSCode + TypeScript is an amazing experience for us poor JavaScript developers that never enjoyed proper autocomplete and refactoring in our editors. Writing Ja
by msoad 10y ago
VSCode + TypeScript is an amazing experience for us poor JavaScript developers that never enjoyed proper autocomplete and refactoring in our editors. Writing JavaScript feels like writing random bash scripts with no help now. TypeScript is freaking awesome and you should start using it! :)
- jackmott 10y agoand some of your errors are caught before firing up a whole web app and a browser!
- aviraldg 10y agoTry WebStorm. I'm surprised at how few people use it, given the quality of the autocomplete and code assistance (and the fact that it works just as well with ES6 as it does with TypeScript!)
- jackmott 10y agoI think people find it a little overwhelming, if they aren't familiar with other IntelliJ editors already. I did. Of course Visual Studio is just as overwhelming, but more people are forced to be used to that.
- mixedCase 10y agoVSCode is open source software. WebStorm isn't. I love JetBrains IDEs but I sure as hell prefer using tools that I can fix or modify myself.
- labrador 10y agoI had one of those aha moments last week. I started to write to complain to Microsoft that VSCode didn't remember my previous searches when I remembered that I could just hack it in myself, which I did. Most programmers like me like that kind of control.
- DougN7 10y agoHonest question as I'm not really part of the open source world: 1. What happens to your change when an update comes out? (Or, do you keep up with updates) 2. Having just merged my first ever pull request, how does a project stay coherent with possibly hundreds or thousands of people submitting their 'hacks'?
- ZoeZoeBee 10y agoPull requests and forks, you can fork a project and keep it up to date with the master. People's hacks are not included in the source code, they're free to fork the project and implement their own hacks and submit a pull request to get their solution included as part of the master if it is approved
- labrador 10y agoMy fix is just a quick hack and not polished enough to submit, so I'll just reapply it. I'm guessing that the vscode programmers will add a search history and I won't have to keep doing this.
- Already__Taken 10y agoPull Request https://github.com/Microsoft/vscode/pulls https://github.com/Microsoft/vscode/pulls At the very least it could be considered a vote for the feature.
- ggregoire 10y ago> I'm surprised at how few people use it I'm not: > US $ 129.00 /1st year I don't say it's not worth it, but we have pretty good editors for free (sublime, vscode, atom, etc).
- innocenat 10y agoThat's organization license. Individual license is just $59
- pjmlp 10y agoOn this day and age many don't want to pay for tools. Sometimes I wonder if Emacs and Vi would be so appreciated if they were commercial as well, without any FOSS version available.
- kozikow 10y ago> On this day and age many don't want to pay for tools. Main part of pycharm is free and open source: https://blog.jetbrains.com/pycharm/2013/10/pycharm-3-0-community-edition-source-code-now-available/ https://blog.jetbrains.com/pycharm/2013/10/pycharm-3-0-commu... . > Sometimes I wonder if Emacs and Vi would be so appreciated if they were commercial as well, without any FOSS version available. One reason for multitude of emacs extensions is the open source nature. Average IntelliJ user is less likely to write extension than emacs user.
- newjersey 10y agoI think a comparing intellij platform to eclipse makes more sense. Why is eclipse so unintuitive? For example, why must I click ok after pushing a change to a remote git server? Shouldn't it be a toast?
- gbersac 10y agoThe same question is even more relevant to emacs and vim. Why are they so unintuitive ?
- kminehart 10y agoIntuitiveness is honestly a relative problem. I've been using vi for a long time. What's intuitive to me? Moving my cursor with hjkl is intuitive to me. Using `C-w h` to move my cursor to NERDTree, then searching for my file with `/filename` and opening it with enter makes taking my hand off the keyboard to move my mouse to double-click on a file seem absolutely barbaric.
- markcerqueira 10y ago
- memonkey 10y agoWould creating large applications in WebStorm break things if I wanted to use VSCode in the future or alongside?
- oblio 10y agoWebstorm creates a hidden folder for it settings, in the project folder, and that's about it.
- squeaky-clean 10y agoYou'd be fine. Webstorm will create a .idea directory in your project, which will contain all the Webstorm specific project settings and configuration. But anything else is stored in regular ol' files you could edit with anything. I use Webstorm and my other teammates use VS Code or Sublime. The only thing that might "break" is if you rely on Webstorm's tools for things like test runners, compiling, minifying and bundling code, etc, instead of learning how to do it on your own. You'd then need to learn how to set it up yourself with the command line tools instead of a nice GUI.
- nixos 10y agoThat's one of my big gripes with IntelliJ - _please_ use standard compiling/building tools. At least use bash/batch files. I want to be able to build my projects if I ever decide that I don't need it anymore
- Karnickel 10y agoI don't understand this comment. How are the build tools Jetbrain's fault? Confused...
- nixos 10y agoI create a project. There are two things they could do: 1. Make an ant/maven/gradle repo, and have the build command run gradle build or something. 2. Create a commandline (open source) tool called "intellibuild" or something, which reads the project files and does whatever the "build" button does. Unfortunately, they don't do either, so if I don't have a license (or I want to give my code to others who don't use IntelliJ), my J2EE is not buildable.
- softawre 10y agoDoes WebStorm still maintain their own version of TypeScript language tools? Back in the 1.0 days they did, and it was a mess. Stuff that would work in Visual Studio and with tsc at the command line wouldn't work in WebStorm. That said, love Jetbrains. Have a Ultimate license for Java.
- cwmoo740 10y agoThe default option is to use the bundled typescript compiler, but you can now also point it to a folder that contains a typescript compiler and it will call out to that. It works very well for me so far.
- sgt 10y agoI haven't used WebStorm, but if it's as good as PyCharm (also a JetBrains product), then it'll definitely be worth getting.
- alangpierce 10y agoWebStorm and PyCharm are both (more or less) repackaged versions of IntelliJ with specific plugins. WebStorm is cheaper and just includes the JavaScript support (and other related languages/tools) and PyCharm includes both JavaScript and Python support. So everything in WebStorm is also in PyCharm.
- sgt 10y agoThat's how I found out about PyCharm, as I'd already been using IntelliJ for a few years (I primarily do Java development).
- ChicagoDave 10y agoPaying for good tools supports developers who make good tools. I've tried VS Code, but prefer WebStorm.
- duiker101 10y agoI pay for a IntelliJ Ultimate license. I am so happy about it. It supports all I want. PHP? Java? Python? Ruby? all you want baby. Consistent UI across all your environment. Solid. Pretty fast. Good Vim plugin. I have absolutely 0 complains. An essential asset.
- kinkdr 10y agoSurprised?? With $120+ per year subscription I am surprised people use it.
- endijs 10y ago120 is for businesses. For individual developers its way cheaper: € 59.00 /1st year, € 47.00 /2nd year, € 35.00 /3rd yr onwards. And you can cancel your subscription if you are OK with 1 year old version that you will fallback to.
- kinkdr 10y agoMy complaint was not so much about the amount, but rather for the yearly subscription. I really don't like this trend of software as subscription. If it was $120 for buying a license I would probably consider it. But $120 for 1 year use is rather high in my book.
- hasenj 10y agoWebStorm is very heavy, and its TypeScript support has some issues that were deal breakers for me (last time I tried).
- Noseshine 10y agoWhen was the last time you tried? They are very quick at reacting to (good) bug reports. I've filed almost a hundred by now and I decided to pay them because of my experience in their reaction to bug reports. With each new EAP (early access) and release TypeScript always has a lot of fixes, so it's obvious to me TS has a high priority to them. Also see here: https://news.ycombinator.com/item?id=12292148 https://news.ycombinator.com/item?id=12292148
- yAnonymous 10y agoI can't get over the Eclipse-ish yet unconfigurable UI.
- timeu 10y agoI use both, well not so much Webstorm, but IntelliJ for Java/GWT application stack and Visual Studio Code for almost everything else (Python, JS, etc). Works pretty well, although I think I could increase productivity if I align the keybinding for both of them (i.e. quick open, find, etc)
- ergo14 10y agoYou know you can use IntelliJ with python (you get pycharm like experience)
- rck404 10y agoWhen I'm on OSX I'm exclusively on Webstorm. When I switch for my personal work to Windows I mostly use VS Code. Webstorm just doesn't render the font, the IDE frame correctly. I find it either too small or big. Webstorm also doesn't use "ctr+w" to close tabs on Windows & linux while does that on OSX.
- big_paps 10y agoThis is simply not true. Beside Webstorm is a very good IDE, its much more precise with Typescript.
- foob 10y agoFor neovim users, you can get something almost comparable with deoplete [1], tern_for_vim [2], and ternjs-deoplete [3]. I set this up recently and have been very happy with the results. This also supports ES6 and JSX in case you use either of those. [1] https://github.com/Shougo/deoplete.nvim https://github.com/Shougo/deoplete.nvim [2] https://github.com/ternjs/tern_for_vim https://github.com/ternjs/tern_for_vim [3] https://github.com/carlitux/deoplete-ternjs https://github.com/carlitux/deoplete-ternjs
- shriek 10y agoI've been using YCM for autocomplete so far. How does deoplete compare with YCM if you have used that in the past. I did install term_for_vim recently but haven't really configured it much.
- Waterluvian 10y agoNot disagreeing but I got all I needed with Atom + atom-ternjs And I don't even have to introduce typescript to my codebase to get surprisingly good hinting and autocomplete.
- ivanca 10y agoThe hinting is almost secondary to the implicit documentation that a typed language brings.
- deleted 10y ago[deleted]
- ausjke 10y agoTypescript is great and is "natively" included in Angular2, however it's not the case for react and vue.js ecosystems. Tried to use/learn typescript, in the meantime I wonder if there is a document showing how to use certain "safe" javascript along with its strict mode to make javascript secure enough so that I don't need use Typescript? i.e. how about using a subset of native javascript with certain rules that can achieve what typescript provides, is this enough? is 'strict-mode' the answer? If there is a book/blog stating "using javascript the way as your typescript" I will buy it right away. :)
- dhaivatpandya 10y agoYou can definitely use type definitions for Vue.js and React. They work very well.
- renke1 10y agoReact may not have "native" support for TypeScript, but in combination with TypeScript using React is so much more fun, if only for the fact that your props can actually be typed and checked at compile time.
- Brakenshire 10y agoThe standard recommendation seems to be to use PropTypes. And also in general, to use Babel with React programs. Would be interested to hear experiences of using Typescript with React.
- mythz 10y agoUsing React, Redux, JSPM, TypeScript work great together in VS.NET, it compiles on save so you don't need to run any additional watchers and JSPM's bundle feature means you also don't need Babel. Since ES6 support is VS.NET is very weak, using TypeScript is the best way to use the latest ES6/TypeScript features today: https://github.com/ServiceStackApps/typescript-redux https://github.com/ServiceStackApps/typescript-redux
- ryanluker 10y ago