Sometimes it is faster to use command line to sync your code with Git, and to navigate through the directories, however, there is no good tool in Windows to directly edit code in command line, like Vim, Vi in Linux. Thus, I searched about it and decided to use PowerShell & Sublime as the IDE for Node.js. (Although Visual Studio Enterprise and Code version is still the most frequent IDE that I use) here’s my suggestion of the most convenient way to code.
- Download a Sublime editor, this is the best text editor of all time.
- Navigate to System-> advanced settings -> and set the root folder of sublime into your PATH variables.

3. Search for “cmd” and right click execute as administrator
4. Navigate to Sublime’s root folder and type “mklink sublime.exe sublime_text.exe”, and it’s done!
5. You can use Sublime to open a document in your command by simply typing “sublime xxx.txt”, sweet!

0 comments:
Post a Comment