Could you do a video on composer? I always see it in Github readme files but I have never used it, or the bash shell you showed, and the website doesn't really explain it for me. How do I use it (and what for) and how do I set it up?
@mysterion410510 жыл бұрын
For Brackets users can install the extension PHP Code Quality Tools.
@dealloc10 жыл бұрын
If you wan't an easier and more consistent way to follow coding standards, linting, etc. I highly recommend using SublimeLinter for all your linters. You can get phpcs, jshint, csslint and all the other linters you wan't. It's easy to configurate, update and install as well and you're not forced to wait for an update for a linter, since SublimeLinter is just a wrapper for native linters.
@codecourse10 жыл бұрын
Great tip, thanks for sharing this.
@CzajekTutorialowiec10 жыл бұрын
None of this standards is for me because of brackets in a new line... Another thing is, that I have a project with 720 files and it would be hard for me to change everything manually...
@CzajekTutorialowiec10 жыл бұрын
Oh, but 'CSScomb JS' is a great plugin to make your css as clean as possible (makes everything automatically). :D
@involix10 жыл бұрын
the same thing here. also I don't see any logical explanation why I should use spaces instead of tabs...
@CzajekTutorialowiec10 жыл бұрын
Eugene Cooper Exactly!
@xlxAciDxlx10 жыл бұрын
It's about preference, really. Some people prefer same-line brackets, while I prefer having them on new lines. The same thing with spaces vs. tabs. Though I have noticed there's a universal advantage to using tabs compared to spaces, especially if going from/to an IDE.
@dealloc10 жыл бұрын
If you're working in a team or a community with multiple developers, it's a good idea to follow a standard, even though your preference is different. It's what gives the best result for everyone - also those who picks up the code later on. I started following the PSR-2 coding standard, because I benefit from it when using others code.