You can create a project and store it in the WSL environment, open one from the WSL file system, and develop your projects further in WSL.īefore you create or open a Java project, make sure you add the needed JDK version in WSL. Open Windows PowerShell as Administrator and runĮnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux In this case, you need to do the following: Upon the first launch, the system may prompt you to enable the Windows optional feature. In this case, you need to update your WSL distribution. Note that IntelliJ IDEA does not support legacy WSL, which you may have installed before upgrading your system to the build 16299.15 or later of Windows 10. Follow these instructions to switch the distributive. To work with WSL 2, your Windows version should be 10 build 18917 or later. See the official guide Install the Windows Subsystem for Linux for instructions. Configure WSLĭownload and install a WSL distribution (for instance, Ubuntu) from Microsoft Store.įor this step, be sure to use at least Windows 10 or later with the latest “Fall Creators Update” (minimum version 1709, build 16299.15). You can also use local Windows-based projects and run the applications remotely in WSL with the run targets feature. IntelliJ IDEA lets you create and open projects in the WSL file system, run, and debug applications in the WSL environment. Currently, it supports several Linux distributions, such as Ubuntu, OpenSUSE, and SLES. In all honesty, I have a WebStorm Fundamentals course on Pluralsight so I already like WebStorm.WSL ( WSL 2) – Windows Subsystem for Linux – is a compatibility layer for running Linux binary executables natively on Windows 10 and later. You’ll need to install the JetBrains browser extensions for the different browsers you want to test, but in that case the debugging just works! Just paste the URL to your page/site that you are launching with Visual Studio as the URL to the JavaScript. Just take the URL and put it in the JavaScript debugging configuration: To make this work, you’ll just need to configure debugging in WebStorm to debug like it’s a remote web server (which in this case is just IIS Express). But you can still use the WebStorm debugger using the JetBrains browser extensions (only works with Firefox and Chrome though): This way I can do the development in WebStorm, but I still use Visual Studio to launch the application. In order to accomplish this, I open the project folder (the web project usually) in WebStorm like so: It supports client-side JavaScript development as well as Node.js support. What is WebStorm? WebStorm is a JavaScript IDE from the makers of Resharper and IntelliJ IDEA. To that end, I use WebStorm even if I am building apps with ASP.NET MVC. Robots.txt)īut even with this great support, I still find the JavaScript editing in Visual Studio to be less than I’d like. Support for languages like TypeScript, Markdown and even format-specific editors (i.e. HTML Editing including ZenCoding, LoremPixel and more… If you’re not using Web Essentials yet, go get it now! It includes great support for a variety of things that help with your day to day development including:īundling Support for JavaScript, CSS, and HTMLĬSS Helpers to add vendor specific styles, browser validation, color pickers and more… Since the introduction of Visual Studio 2012 as well as Web Essentials things have gotten really good. The JavaScript, CSS and HTML support was substandard. Web development in Visual Studio used to be pretty painful. While it’s not without it’s own foibles, it does most things really well. This means I need the best in breed in tools no matter where I’m writing code. In many of the projects I help with we have to handle back-end and front-end coding for web projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |