Sublime Forum

Migrating from vscode

#1

I’m using php, laravel, react, js, django and python for my developments and i have installed every package out there for these languages but in the end nothing is working, when i’m typing i get senseless suggestions that don’t make sense. Also i use beautify/prettier but the code doesn’t automatically format when i save it.

0 Likes

#2

Why? What are you trying to achieve? ST comes with highlighting for most of these languages already, so you need to pay attention to what features a package offers and if that’s what you need.

If you want code intel, language server integration, smart suggestions, etc. you’re going to have to do al little more work that with VS Code and you may still get slightly different results. There are some options here too, like https://packagecontrol.io/packages/SublimeCodeIntel and https://packagecontrol.io/packages/LSP, so you need to figure out what you want to get out of it and how you want to set it up.

If a particular package doesn’t behave as you think it should, check its GitHub repo for more info.

0 Likes

#3

In fairness, a lot of years-old articles and blog posts recommend a bevy of third-party highlighters because at the time the articles were written, the third-party packages often provided better highlighting. This is a real problem these days; countless users are working with creaky third-party packages that haven’t been properly updated in years when the built-in highlighting would perform much better.

React is a special case; the built-in JavaScript syntax by design does not support JSX. However, instead of the oft-recommended babel-sublime, which is unmaintained and archaic in structure and features, I recommend JS Custom, which is based directly on the core syntax.

3 Likes