I know VS2017 now natively supports ESLint which is working fine for me. I need to know if is it possible to integrate ESLint with MSBuild so that I can have the same linting experience not only on my development workstation but on TFS CI/CD system too? Looks like there are some supported integrations as mentioned here but nothing on MSBuild.
I need to know if is it possible to integrate ESLint with MSBuild so
that I can have the same linting experience not only on my development
workstation but on TFS CI/CD system too?
So far, MSBuild does not integrate ESLint.
Besides, l found no official MSBuild document about Integrating ESLint. Also, I did a small test for Build Tool for VS2017, l found that there is no such component called ESLint which proves that it is not supported by MSBuild.(l also did in Build Tool in VS2019 and it is the same as in Build Tool for VS2017)
In addition, although MSBuild does not support ESLint, I think your proposal is an interesting idea and you can suggest a feature to user voice(DC Forum).
After that, you can put the link here and we who interested in this will vote it so that it will call the attention of the Support Team.
Hope it could help you.
Related
Some time ago I used to run Quarkus projects in Linux as any other proyect, this means by clicking "Edit Configurations" and selecting "Quarkus (Maven)" as you can see in this picture:
But now I´m using Windows and those menus have disapeared:
As an alternative currently I´m running my Quarkus projects from Maven tab, which isn´t a fashion way:
So at the begining I thought this was due to a bug in Quarkus Tools plugin that I created a new issue, however that plugin does not offer such feature. Could anybody give a hand on how to run Quarkus projects as any other project? Thanks in advance.
Run configurations are offered by this plugin: https://plugins.jetbrains.com/plugin/14242-quarkus-integration
Looks like it is discontinued though, marked as "deprecated" and it's not showing in the Plugin marketplace (within IntelliJ) for me, so I had to install it via the website.
AFAIK there are plans for the official JetBrains bundled plugin to support it (https://youtrack.jetbrains.com/issue/IDEA-228507), but it's not done yet.
I want to take a stab at contributing code to TestCafe for bugs/issues.
Can anyone of the contributers help me with setting up my machine? How do you get started? (apart from forking the repo) Are there any tools/extension that specifically help you?
Node.js is a prerequisite and needs to be installed on your machine. You need to run npm install or yarn in the local copy of the repository after it is cloned. You can use gulp build to build the project without running tests. After the project is built, you can start TestCafe by executing node bin/testcafe.js <TestCafe args> in your terminal.
You can use any text editor of your choice. JetBrains Webstorm is an ultimate solution for a JS project like TestCafe, but it is paid and proprietary. Visual Studio Code is a good open-source and free alternative.
As for other questions, I suggest you refer to the Code Contribution section of our guide, which covers the majority of topics.
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.
I was wondering if anyone has used Demandware with any of JetBrains IDE. I've always just used text editors, and the Terminal. It seems like Demandware UX Studio is only for Eclipse?
Any help or suggestions is much appreciated.
In theory you can use your editor of choice to edit Demandware ISML files and DW Script files such as Sublime or JetBrains, but you would need some kind of WebDAV-Sync solution to automatically upload your files to the server.
You'll also lose debugging when you move away from Eclipse. Editing pipelines will also be quite challenging, as you won't have the visual IDE to edit the files (which are basically just XML).
Fortunately there has been some movement in the community and a plugin has been created for Jetbrains, it is available here: https://github.com/nek4life/intellij-demandware/
There is a Sublime Text 3 plugin (officially supported by Demandware) that will handle webdav syncing with your sandbox server. Pipelines are going away with the new development model and script debugging from Sublime Text is listed as a current TODO. You will still need to return to Eclipse to debug until that feature is finished, but it's nice to see they are making progress.
https://packagecontrol.io/packages/Entropy
Till now, Demandware development extension is available only for eclipse IDE. After installing the demandware development extension, you can take code checkout the storefront cartridges and create the DW server connection in eclipse, which will help you auto upload files to server.
You can use any other IDE, but that will not help you auto sync/auto upload files on server and with pipeline debugging options.
You can use Aptana studio. It is compatible with DW studio plugin.
To use Aptana:
Install Aptana
Go to Window->Preferences->Install/Update->Available Software
Add luna location http://download.eclipse.org/releases/luna/
Enable "Eclipse Kepler Update Site"
Install dw studio as described in documentation (use version for luna)
Optionally configure scss default editor: Aptana Studio 3 code assist for Sass (.scss) files
Do you have some opinion for code coverage in Hudson.. Now i have build with Msbuild and MSTest and that's work.
But for code coverage, i think i need some help. I have searched that somebody use nCover another with Emma. Which one is better and more easier ? And maybe reference to help me.
Best regard,
Are you .NET (NCover) or Java (Emma) or both?
NCover should work with Hudson but costs
Open Source projects exist look for PartCover and more recently OpenCover.
All three .NET tools support command-line and as such they should integrate with Hudson.
We are currently using dotCover by JetBrains. It's cheaper than NCover and it integrates well with Visual Studio. You don't have to use a separate application (NCover Explorer) to view your code with the covered/uncovered highlighting, which is great.
The command line version of dotCover allows you to create XML files of the analysis and you can parse the XML via <XmlRead> (in the MSBuild Community Tasks library) to parse the output.
It takes a while to get set up properly, but it works.