Atom Editor Sunset

Ed H AHSAA Blog
Ed's Blog Index & Contents

Nov 9, 2022 3:15

Sadly Atom editor will be gone in 6 months

I looked at both Eclipse editor which is open source and Visual Studio Code

  1. Both are free
  2. Both are good
  3. Decided to try Visual Studio Code first even though I don't like giving business to giant software companies.
  4. The main reason I decided on VSC is because every video I watch on 11ty or nunjucks the developer is using Visual Studio as their editor.

Download Visual Studio Code

https://code.visualstudio.com/download

  1. downloads a zip file
  2. Expand zip file and there is one file which is Visual Studio Code
  3. On OSX drag Visual Studio Code to Applications folder
  4. Open Visual Studio Code, opened my Sites/11tyAHS folder and started editing
  5. So far Visual Studio Code is very similar to Atom. command-S to save
  6. HTML intellesense and beautify is built in, the command to prettify format the HTML and other code is Shift - option - F to beautify
  7. Nunjucks is not built in but when you open a .njk file and then press the key combination Shift | Option | F at the same time VSC will ask you if you want to look for a nunjucks formatter which I installed. It works.
  8. Same with markdown .md file. When editing a .md markdown file and I press the 3 keys Shift | Option | F I get a dialog box that says
There is no formatter for 'markdown' files installed.
Install Formatter ...
  1. I clicked on Install Formatter ...

  2. It opens the Visual Studio Code Marketplace

  3. There are a bunch of choices.

  4. I picked Markdown All in One because it has 5.2 million intstalls and is rated a 5 out of 5 stars

  5. It installs itself.

  6. So far Visual Studio Code is OK.