

Navigate to the declaration of a symbol with ⌘B. The symbol gets the new name and all its usages are updated. Place the caret at a symbol you want to rename. Improve your code using intention actions: Press ⌥↵ to access actions that Fleet suggests in the current context. The below is not an exhaustive list of Smart Mode features, rather a couple of examples that'll help you to get the feel of how it works in Fleet. In the top-right corner of the window, click Smart Mode, then Enable.Īfter you click the Enable button, you may have to wait for some time, while the backend is being prepared. However, if you need code intelligence features, you can enable them by turning the Smart Mode on. You can use JetBrains Fleet as a smart text editor, rather than a full-fledged IDE. Give the new file a name, for example, app.js. In the Files view, right-click the root folder, then select New File. To use a custom Node.js installation, select Add Node.js Interpreter and select the relevant path in the dialog that opens. If you followed the standard installation procedure, Fleet detects your Node.js and adds the path to it to the list. Press ⌘, and switch to the tab with the workspace settings.įrom the Node.js list, select the path to your Node.js installation. You can view its contents in the Files view. When you open a directory, it becomes the root of a workspace.

In the file browser, navigate to an empty folder where you want to store your code and click Open. Press ⌘O or select File | Open from the menu. You can open an existing project or start a new project by opening an empty directory. It contains the project files and settings. Workspace is the directory where your project resides. In JetBrains Toolbox, click Install near the JetBrains Fleet icon. Make sure you are logged in JetBrains Toolbox under your JetBrains Account. JetBrains Toolbox 0 or later: the Download page. The steps show vanilla JavaScript and Node.js, however you can use them for TypeScript as well. It covers the installation, project setup, and working with code. This tutorial gets you up to speed with JavaScript development in JetBrains Fleet. Getting started with JavaScript and TypeScript
