Need advice about which tool to choose?Ask the StackShare community!
PhpStorm vs Sublime Text: What are the differences?
Key Differences between PhpStorm and Sublime Text
Coding Features and Language Support: PhpStorm is specifically designed for PHP development and provides advanced coding features such as code completion, code analysis, debugging, and refactoring tools tailored for PHP developers. It offers extensive language support for PHP, HTML, JavaScript, CSS, and more. On the other hand, Sublime Text is a versatile text editor that supports multiple programming languages and offers basic coding features but lacks the specialized functionality for PHP development provided by PhpStorm.
Integrated Development Environment (IDE) vs. Text Editor: PhpStorm is a full-fledged IDE that offers an all-in-one development environment with features like project management, version control integration, database tools, and plugins support. It provides a comprehensive set of tools and features to streamline PHP development. Sublime Text, on the other hand, is primarily a text editor with a minimalistic interface and focuses on providing a lightweight and customizable coding environment without the added features and complexity of an IDE.
Code Navigation and Refactoring: PhpStorm excels in code navigation and refactoring capabilities. It allows developers to easily navigate through complex codebases, find usages of variables, functions, classes, and perform various code refactoring tasks like renaming, extracting methods, and optimizing imports. Sublime Text also offers basic code navigation features like Go to Definition and Find All, but it lacks the comprehensive refactoring capabilities provided by PhpStorm.
Debugging Support: PhpStorm provides extensive debugging capabilities for PHP applications, including step-by-step debugging, breakpoints, variable inspection, and remote debugging. It integrates seamlessly with popular PHP debuggers like Xdebug and Zend Debugger. Sublime Text, on the other hand, does not have built-in debugging support. Although there are third-party packages available for debugging in Sublime Text, they do not offer the same level of integration and functionality as PhpStorm.
Collaboration and Version Control: PhpStorm offers built-in support for version control systems like Git, SVN, Mercurial, and others, allowing developers to easily manage their code repositories, perform version control operations, and resolve conflicts. It also provides integration with collaboration tools like GitHub and Bitbucket. While Sublime Text has plugins available for version control integration, it does not offer the same level of built-in support and seamless integration as PhpStorm.
In Summary, PhpStorm is a specialized PHP IDE offering advanced coding features, extensive language support, comprehensive code navigation and refactoring capabilities, debugging support, and built-in collaboration and version control features. Sublime Text, on the other hand, is a lightweight text editor that supports multiple languages but lacks the specialized functionality and comprehensive toolset provided by PhpStorm.
When I switched to Visual Studio Code 12 months ago from PhpStorm I was in love, it was great. However after using VS Code for a year, I see myself switching back and forth between WebStorm and VS Code. The VS Code plugins are great however I notice Prettier, auto importing of components and linking to the definitions often break, and I have to restart VS Code multiple times a week and sometimes a day.
We use Ruby here so I do like that Visual Studio Code highlights that for me out of the box, with WebStorm I'd need to probably also install RubyMine and have 2 IDE's going at the same time.
Should I stick with Visual Studio Code, or switch to something else? #help
If you're working with both Ruby and JavaScript, buy RubyMine and shut down the other two. It's much better for Ruby than Visual Studio Code is. It can also do everything WebStorm does, if you install the plugins you need from JetBrains, and they all work together nicely.
If you install RubyMine, you shouldn't need WebStorm, as all the functionality of WebStorm appears to be included in RubyMine. (See here: https://softwareengineering.stackexchange.com/a/132950).
I've used PhpStorm for several years and have never needed to open (or even download) WebStorm for anything front-end or JavaScript related.
I work at the same company as you and I use WebStorm for 99% of my tasks. I also have RubyMine installed and use that when I have to tweak some backend code. I tried using RubyMine for JavaScript but was unhappy with how it felt and I believe that WebStorm is faster because it has less plugins and language extensions running. Summary: Buy and use WebStorm for primary development and keep VS Code around for when you have to touch Ruby.
I've never had much issue running multiple IDEs and generally pick them based on the languages they best support. For front end work where I mainly use TypeScript, I stick heavily with Visual Studio Code. However, for backend work which we do primarily in Python, PyCharm is my go-to editor. The one thing that I do however is I do remap keyboard shortcuts so I get consistent keyboard ability even when I switch IDEs.
JetBrains all the way - my entire team uses PhpStorm and none of us would even consider switching.
The availability of IDEs for other languages along with consistency in environment and keyboard shortcuts is also a godsend, which is the reason I'd also choose Rider over Visual Studio (but also VS for Mac is trash, but I digress...)
Visual Studio Code is a text editor. And this is best option in my opinion. For Ruby, I cannot say how VS Code is good. If you wanna choose IDE, RubyMine should fit your needs. Because IDEs are more compatible with major needs. But text editors are just text editor. You can do same things with also text editors. I recommend to try both VS Code and RubyMine. And you will be able to find which fits better for your needs
So here is the deal man, bottom line you want to write code. All of these tools are built in a mouse-driven world, they are designed not for engineers, but office monkeys. If you want a real workflow that gives you ultimate performance, customization and speed you need to use a modal editor, I suggest NeoVim. Start using it 20% of the time on single file edits, watch youtube videos about it and teach yourself vim gestures. It will infuriate you for 6 weeks, make you cry for another 2 months. But as you use it more, as long as your usage goes over 40% of the time, in 6 months you will understand why most of the world's too engineers use it. Settling on lesser editors out of laziness is exactly the attitude that results in shitty the engineering. Yeah it's hard. You're smart. You do hard things. Once it isn't hard anymore you will blow yourself away at how much more efficiently you edit files.
Also vim keybindings in a mouse driven editor does not cut it. Managing files, buffers and workflow is half of the value of vim/neovim. It is OK if you have to use an IDE (currently I only use an IDE for java development, so I have little choice)
So use VSCode while you teach yourself vim.
If I have to choose one I would go with VS Code; it’s become pretty mature and keeps getting better. If those plugins are creating problems for you then just uninstall them, find an alternative, or make a PR to fix. But at the end of the day these are IDE’s and they are meant to save you time. I would go with whatever helps you develop code faster. If restarting VS code slows you down then make a switch, that personally would annoying the crap out of me. Else maybe it’s a quick restart, not the end of the word, hopefully someone will fix at some point.
If you find something that works and are comfortable with it, stay with it. Changing IDE's and learning their idiosyncrasies takes valuable time away from programming while learning setups and keyboard short cuts. I personally use VS Code for cost and decent multiple language support. I've had issues occasionally with it locking up, but it is under heavy development and continually improving. I have also found it more intuitive for new programmers. ** Having profiles for different languages can reduce the amount of plugins running and issues they can cause.
I usually have both running but do the bulk of my language work in the appropriate JetBrains flavor. One thing to watch out for in VS is that under the hood it is running the tools needed for whatever language you are working with. This is where tools like JetBrains shine. While I am sure you can tune the heck out of what you use in VS, the provides context and clarity...
I'm personally a Visual Studio Code fan. I've used it for both Go and Java. It really depends on the quality and support of the plugins. Typically VS Code doesn't crash as much as a bad plugin causes an unforeseen error. Make sure you stay up to date and look at alternative plugins.
Well you can try for a while MacVim because it is already configured with tons of plugins. My favourite text editors are Sublime Text and TextMate which are lightweight and speedy. My feeling is that JetBrains IDEs are making you brainless.
An integrated development environment software with huge potential in the future is VS Code. So I would personally say you can use VS code.
Are you using the prettier-vscode
VSCode extension or prettier
via prettier-eslint
?
The prettier-vscode
extension recommends you...
Use prettier-eslint
instead of prettier
. Other settings will only be fallbacks in case they could not be inferred from ESLint rules.
Visual Studio Code became famous over the past 3+ years I believe. The clean UI, easy to use UX and the plethora of integrations made it a very easy decision for us. Our gripe with Sublime was probably only the UX side. VSCode has not failed us till now, and still is able to support our development env without any significant effort.
Goland being paid, as well as built only for Go seemed like a significant limitation to not consider it.
Since communication with Github is not necessary, the Atom is less convenient in working with text and code. Sublim's support and understanding of projects is best for us. Notepad for us is a completely outdated solution with an unacceptable interface. We use a good theme for Sublim ayu-dark
I decided to choose VSCode over Sublime text for my Systems Programming class in C. What I love about VSCode is its awesome ability to add extensions. Intellisense is a beautiful debugger, and Remote SSH allows me to login and make real-time changes in VSCode to files on my university server. This is an awesome alternative to going back and forth on pushing/pulling code and logging into servers in the terminal. Great choice for anyone interested in C programming!
Pros of PhpStorm
- Best ide for php287
- Easy to use232
- Functionality218
- Plugins166
- Code analysis160
- Integrated version control87
- Great php ide for mac76
- All-round php ide73
- Local history62
- Themes53
- Best PHP IDE18
- Database control11
- Easy to find anything and everything in your code10
- Best bebugging9
- Best inspection variable9
- Command line integration7
- Great frameworks integration7
- PHPUnit integration7
- Getting Better7
- UX7
- Composer integration6
- Performance6
- Coolest IDE6
- Real time code validation5
- Easy to use and github interaction5
- Neat does the job and easy5
- Best ide for advanced php and symfony5
- Best ide for php4
- TypeScript support4
- Code indexing4
- It has no match. it filled one of the biggest void4
- Fast and relevant auto-complete4
- Great refactoring support4
- Cross platform4
- Integration with Vagrant and Docker3
- Debugger for Javascript3
- Good3
- Very good3
- Debugging in the Just-In-Time Mode2
- Perfect locahost / host sync2
- Awesome debugging features2
Pros of Sublime Text
- Lightweight720
- Plugins652
- Super fast641
- Great code editor468
- Cross platform442
- Nice UI280
- Unlimited trial260
- Cmd + d is the best command ever153
- Great community92
- Package control, modules46
- Mac OS X support26
- Easy to get started with23
- Monokai22
- Everything you need without the bloat21
- Built in Python21
- Easy18
- Speed14
- Session & edit resuming12
- Package Control10
- Well Designed9
- Multiple selections8
- ALT + CMD + DOWN is the best command ever7
- Nice7
- Fast, simple and lightweight7
- It's easy to use, beautiful, simple, and plugins rule5
- So futuristic and convenient5
- ALT + F3 the best command ever5
- Great5
- Find anything fast within entire project4
- Easy to use4
- Free4
- Simple and clean design4
- Hackable3
- Pretty3
- UI + plugins3
- Sublime Merge (Git Integration)3
- Totally customizable2
- Color schemes and cmd+d2
- Material theme best theme forever2
- Const0
Sign up to add or upvote prosMake informed product decisions
Cons of PhpStorm
- Uses a lot of memory14
- Does not open large files10
- Slow9
- Uses Java machine8
- No way to change syntax highlight for files without ext3
- No save prompt or asterisk on file change2
Cons of Sublime Text
- Steep learning curve8
- Everything7
- Flexibility to move file4
- Number of plugins doing the same thing4
- Doesn't act like a Mac app4
- Not open sourced3
- Don't have flutter integration2
- Forces you to buy license2