![]() ![]() ChangeQuotes, change from double to single quotes or vice-versa.AdvancedNewFile, better creation of new files and renaming.AceJump, quickly move the cursor to a specific position.A File Icon, pretty icons for your files.You should also make sure the CLI is available for both tools, so that you can run subl or smerge in a terminal. getting the history or blame for the current file). If you haven't done so already, you should also install Sublime Merge, it works really nice in concert with Sublime Text (i.e. If you want to start fresh, just create an empty config directory. It will copy the existing config to the new location at ~/Library/Application Support/Sublime Text or ~/.config/sublime-text respectively. ST4 will detect existing ST3 configuration files in ~/Library/Application Support/Sublime Text 3 (Mac) or ~/.config/sublime-text-3 (Linux). My setup for Laravel Development Installation / Upgrade I've heard great things about Psalm, but haven't tried it with ST4, yet. Especially tlint has great linting for code quality (like unused imports). Lintingįor linting I use phpcs and tlint by Tighten. I do use the Tailwind plugin to get all the Tailwind classes. I'm not sure how autocomplete works without a language server, but the default in ST4 is already so good, that I haven't bothered with installing Intelliphense of Psalm, yet. No extra shortcut, I just use the command palette ( cmd+shift+p). When implementing an interface or an abstract class, there's also the option to import all methods that need to be implemented. ![]() When using PHP classes, I press F10 to import the fully qualified classname as a use statement at the top of the file (automatically sorted). Pressing ctrl+e converts this text to a proper test method that I just need to fill with life. In that test-file I just type verbatim text of what I want to test (i.e. I practice TDD whenever it makes sense, so the first thing is usually do is generate a functional test. How I use Sublime Text for Laravel Developmentīefore I go into the details of how I set ST up exactly, I want to write a little about how I use it and its features on a daily basis. Other than that you will see the same level of code completion capabilities and a way snappier editor. If you're good with what Intelliphense has to offer plus niceties like automatically adding use statements or expanding FQCNs, Sublime Text is for you.įor VSCode users the only downside seems to be that ST4 is not free. If you're a full-blown IDE person and cannot live without all those nice refactoring features in your day to day work, you're probably going to stay with PHPStorm. To see the features illustrated, check out this overview video. It has an easy way to display files in split panes called Tab Multi Select that is integrated in a dozen places.It has an amazing new default theme, light and dark, so no need to fight! Dark is better, though.With the new license model, Sublime Text will now continuously receive updates, so no more need for major releases. It as a new name: Sublime Text, no version number.It has a new license model: Buy a license, get 3 years of updates.It finally has code intelligence (called context-aware auto-complete) and with that, first class support for language servers (LSP).It's even faster than before with hardware acceleration and support for M1. I will give you a short overview of what's new with Sublime Text and go over the differences with PHPStorm and VSCode (VIM users are not the target audience, sorry Michael Dyrynda □♂️). Sublime Text 4 is finally out and it's time to go back to your favorite text editor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |