I have recently installed Error-prone plugin in Android-Studio and configured the settings as explained on its website.
The plugin is working fine but I have noticed that whatever errors the Error-prone-plugin shows, at compile time, is already highlighted by the Lint tool in editor.
So I want to know why i should use Error-prone in Android-studio.
Or what are the details I don't know about Error-prone or Lint tool.
Related
I have a visual studio code extension, but usually I develop in java so I'm much more experienced in intellij IDEA than vs code. So my question is, is there a way to debug my vs code extension in intellij?
Intellij has plugins for compiling and run typescript programs, it also supports node development.
I think I should create an npm run configuration, where I put npm compile script from package.json to before launch section and then run another npm script that will launch the vs code with the compiled extension. But I don't actually know how this script should look like, or if there is a better way to go.
Try importing all the libraries first.
InelliJ has an excellent feature of running each and every method and class individually, use that feature,
To use that feature, there is a green triangle at the right side, click on that to debug
I am facing issue with TypeScript in IntelliJ IDEA Community Edition. Earlier I have used IntelliJ IDEA Ultimate Edition for Angular 2 development and it works fine.
This is the error I am getting in my .ts file. Plus there is no intelliSense. Is this feature unavailable in the Community Edition?
As zhengyue pointed out in comments, apparently you are using the "TypoScript" plugin, which is not a "Typescript" plugin.
I made the same mistake. And I also had the same problems that you experienced. Personally I thought it was the #Component decorator that messed things up. But it was zhengyue who pointed out I was using the wrong plugin.
The conclusion for me was that it was better to search for a good alternative. Because I still want to develop my back-end in Java, I wanted ...
something that integrates with IntelliJ as good as possible
but still something which is powerful.
At first I tried eclipse, and found powerful tools in their marketplace, which turned out to be commercial products and expired after 8 days.
Secondly, I downloaded "Visual Studio Code", (not to be confused with the full blown Visual Studio). It is FAST and user-friendly. It launches in less than 2 seconds on my system. And it has great plugins, which allow me to use code completion and refacturing tools. Here is the list of plugins I have installed:
As you can see, there is a plugin that makes you use the keybindings of intellij.
In IntelliJ I configured my ".ts" files to be handled as javascript files. Because it's better than nothing.
I work in IntelliJ all day when I'm working on the Java back-end, and thanks to the javascript features, I still have some (limited) code highlights for the Angular front-end as well. But, when I want to edit something in the front end, I use Visual Studio Code. To make this a smooth transition, I right-click inside the file and use an external tool configuration:
Inside my IntelliJ I configured the root of the angular project as a module. Then the configuration of this external tool looks like this:
This allows me to switch from IntelliJ to Visual Studio code in about 2 seconds, and immediately to the correct line in the correct file.
So, that's what my free Angular-with-Java-combo development workspace looks like.
JavaScript/TypeScript support and many other features are not available in the Community Edition.
We are using a small tool to automatically fetch updates for various projects from Git/SVN, recompile them and run tests locally with any local modifications that the developer might have developed, but not yet submitted to the global code repositories.
For some large projects, we see that the IntelliJ IDE only does refreshing/recompiling of code when the developer comes in and actually starts to work in the IDE, which always causes some time in the morning when the machines are busy recompiling, thus hindering the developers shortly after they came in.
I would like to do such a refresh/recompile already during the nightly update, so it is not wasting dev-time in the morning.
For Eclipse we are using https://github.com/moschinski/MondShell, a plugin which provides remote control functionality.
I tried to look for tools to automate things in IntelliJ, but could not find anything that would suit.
Are there any plugins or other means of remotely controlling IntelliJ to force it to recompile code and update source repositories?
As I could not find anything which could do this I started a small plugin which provides a small REST interface in order to control things in IntelliJ from scripts.
See https://github.com/centic9/IntelliJ-Automation-Plugin for the implementation details.
I'm trying out CoffeeScript support in IntelliJ, and although the highlighting/completion/refactoring support looks great, I can't figure out a way to automatically compile my .coffee files to their .js counterparts in order to use them in web pages, unit tests, etc.
The documentation mentions using Node for this purpose, but I'm primarily interested in writing client side code. I'd probably be able to create a run configuration that would use Cake to create my JS files, but this won't integrate nicely with IDEA's integrated unit test support, etc.
So... any help?
Use the IntelliJ IDEA plugin: File Watchers.
You would need to install coffee-script package in the global directory. (npm install -g coffee-script).
While you are editing the CoffeeScript file in IntelliJ editor, there would be a notification showing on the top.
Click "Add watcher" and the IDE will compile your code for you on the fly.
More advanced options could be accessed via Project Settings/File Watchers.
See also the official document.
I would like to ask how other more experienced Coffeescript developers are using their respective IDE's or editors with auto-complete when developing modular libraries and / or referencing external Javascript libraries (jQuery, jQuery UI, RequireJS, Handlebars, ...).
As much as I've tried various IDE's and plug-ins for Coffeescript, none of these seem to support auto-completion when the project consists of several script files. For example: in Visual Studio I can add a commented directive such as /// <reference path="/js/jquery.js" />. I'd need something similar for Coffeescript.
I have tried following without success:
Visual Studio with Web Workbench by Mindscape
Netbeans with dstepanov's Coffeescript plug-in
Aptana with the Coffeescript ruble
Further, I am aware of Jetbrain's WebStorm 3.x support for Coffeescript, unfortunately, my evaluation period expired before I realized I'd need this feature - can anyone confirm that setting the Javascript / Coffeescript Usage Scope works as expected with auto-complete?
So effectively what I am asking: is there an IDE or plug-in, commercial or otherwise, enabling auto-complete for Coffeescript libraries spanning multiple files?
Hate to answer my own question, but after giving JetBrains WebStorm 3.0.2 another demo run on another box, I figured it worked best and does have 'smarter than average' auto-complete for coffeescript projects. It simply loads all coffeescript files in to a global auto-complete context and you can add external libs (cs or js) as well using the project's scope settings. Could be better, but for now I cannot find any other IDE or tool running on PC or Linux, OSS or paid, that tops WebStorm and I don't have the fortunes to explore OSX alleys.
I am sure future tools, plugins, IDE's will pop up for various platforms that do offer great coffeescript module management and proper contextual auto-completion in the editor. So please, do keep the suggestions coming.
Thanks!
I personnaly use Kdevelop. I can't remember if I installed a plugins or something to get it work with coffeescript.
But it works very well, the highlighting colors are pretty, when ctrl+d it add coffeescript commentary and so on.
Also I do make compilation directly in KDevleop.
Well also it's free, I am using it on linux debian but I think it works on most platforms.
Check it there : http://kdevelop.org/