This way all your errors will be shown in the same place. Both eslint and stylelint have language server plugins. While sublime has a dedicated linter plugin, you may not need it. ![]() Install the language servers relevant for your setup (for me it's lsp-typescript, lsp-css, lsp-json and a lsp-tailwindcss) and you'll be rewarded with powerful autocompletions, helpful diagnostics and excellent developer experience. To make a long story short, the Language Server Protocol is a protocol that standardizes the way code editors communicate with compilers through language servers. Luckily for us, the same autocompletion engine that powers VS Code is available to us in sublime through the LSP family of plugins. Let's see how we can turn it into more of an IDE. Sublime is a fast and capable code editor, able to handle large files with ease, but it is still "just" a text editor. ![]() In my experience, any sufficiently popular extension for VSCode will sooner or later be ported to Sublime (and vice versa). However, if you enjoy using it and can afford it, I highly recommend to buy a license and support the developers.Īlthough, not as popular as VSCode it has a devoted following and plenty of packages on it's marketplace called package control It's not free software, but you can "evaluate" it indefinitely if you don't mind the occasional popup window. It also has a python API which can be used to extend it with additional functionality. Sublime is a closed source code editor written in C++. With these out of the way, let's move on and see why I chose to use Sublime Text and how I set it up as a powerful alternative to VSCode. Having said that, many of these ideas and concepts will translate well into other languages and paradigms. This setup is what works best for me, but may not work as well/at all for you. I am a full stack web developer working mostly with Node.js, React and Typescript. ![]() However, if you're the type of person who enjoys maintaining and fiddling with your tools this guide might just be for you. This is especially important for novices as almost any other tool will require you to put in some extra effort into setting it up. ![]() Speaking from experience, it is super easy to set up and be productive with in no time. The fact that it's free and mostly open source should be celebrated.īeside the above mentioned reasons, using VSCode is also the path of least resistance. It's not my intention to bash it or any other editor/IDE for that matter. What I am referring to is VSCode's comparatively sluggish performance and the strain it puts on the computer's resources.Īlthough Microsoft did an amazing job of optimizing and squeezing every last bit of performance out of Electron, there's no getting away from the fact that VSCode will always be at a disadvantage compared to other code editors written in more low-level languages.Īlso, and this is obviously more of a personal preference, I find VS Code's design and layout to be a bit too "busy" for my tastes as I prefer a more clean and minimalist UI with less distractions.įortunately, as you'll soon see, there are alternatives. No, I'm not talking about Microsoft harvesting your data for their nefarious purposes (although that's certainly an issue in my opinion). It is maintained and regularly updated by Microsoft and has a vibrant community of users and developers. It has many useful built-in features as well as tons of 3rd party extensions in it's marketplace. VSCode needs no introduction as it is probably the most popular IDE/code editor at the moment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |