- #SUBLIME TEXT WINDOWS SUBSYTEM FOR LINUX HOW TO#
- #SUBLIME TEXT WINDOWS SUBSYTEM FOR LINUX INSTALL#
- #SUBLIME TEXT WINDOWS SUBSYTEM FOR LINUX CODE#
- #SUBLIME TEXT WINDOWS SUBSYTEM FOR LINUX LICENSE#
You activate it, you highlight the code you want snapshoted, and you click the shutter button. Polacode allows you to create “snapshots” of your code.
This one really should be in a category all it’s own called “This is so cool” Extensions. (Another reason I love it) “Sugar coating that make the tool very nice to use” Extensions Polacode It recommends that you use the PHPCS extension for that. One of my favorite things about this extension is that if you click on a use statement, it will locate the file that class is defined in and open it for you.Īs I said, this plugin does not attempt to format your code for you. It gives you basic keyword intellisense, tab completion, advanced searching, etc. This plugin does not do anything too wild. This caused me to have to do a lot of correcting, removing spaces, and reformatting before I could use the code I just pasted in.
#SUBLIME TEXT WINDOWS SUBSYTEM FOR LINUX INSTALL#
(It is actually recommended that when you install this extension, you turn off the native PHP intellisense) There are a couple of Extensions that do this, I tried them all and this is by far the best and least intrusive.Īt least one of them tried to format things as I pasted them in. Since the vast majority of my work in VSC is PHP code, I wanted more than the basic intellisense that is built into VSC. If you don’t have this extension, you are missing the power of VSC, especially if you work in Win/WSL. This could be your complete ssh solution if you so desired. If you want, you can even setup forwarders. (which I still hate) The shell it presents is better and more compatible than any shell I’ve used in Windows so far. This means a bash shell in WSL for me, not the PowerShell.
The fourth item on the list above is a convenience extension that makes editing remote ssh config files easier by giving keyword intellisense and syntax coloring.īONUS: When you open the terminal window while connected to WSL, a container, or SSH, you get a command prompt in that environment. That did away with the need for an extension solely for that purpose.
This group of extensions also integrate the remote file system into VSC so you can use File->New/Save/SaveAs/Delete etc on remote systems, WSL, and inside containers. VSC Remote Development Extension Pack actually has a server piece that it runs in Containers, WSL, and over SSH to allow it to seamlessly manipulate files and directories. It’s that middle task that makes the magic happen. This will open VCS, instantiate a running instance of it’s server piece inside the WSL, and open the current directory ready for us to begin working. You can translate into your favorite command prompt) developers can open a single file or a directory by simply typing code. They allow you to edit files natively inside of the WSL, inside of running Docker containers, or on any machine that you can ssh into.įrom a command prompt inside the WSL (I use bash so I’m going to say bash prompt form now on.
#SUBLIME TEXT WINDOWS SUBSYTEM FOR LINUX HOW TO#
All that changed last year when I became one of the last developers on earth to notice VS Code by Microsoft.īack in April, since I found myself with some time on my hands, I decided I would spend a day actually learning how to use VS Code.
#SUBLIME TEXT WINDOWS SUBSYTEM FOR LINUX LICENSE#
I’ve owned a license at the last three places I’ve worked and even maintained my own personal license. For the last few years I’ve been a huge fan of “Sublime Text”. Programs just smart enough to know that I’m working in code and give me tools to do that properly, but not so smart that they get in my way. So for the majority of my programming career, I’ve used “program editors”. I don’t always want to edit a file that is in a project and I don’t like any of the ‘project-less’ kludges that are out there.