Code formating on per project basis |
Site Admin
|
and how would per-project tab setting help have different settings for the files in the same project?
|
||||||||||||
_________________ The PHP IDE team |
|
Maybe, it could be done like all others do it too?
http://editorconfig.org/
For me, one aspect that is more important than working with different IDEs or Editors, is: When working on an OS project that uses for example tabs for indentation, (I personally use 4 spaces) I have to switch my settings. Also when back working on my own projects, I have to switch it back. And regarding that, you surely can imagine that it is a really, unnecassary culprit when simultaneously working on files from both project types. I'm very happy with PhpED and its toolset. Only this one is missing for me! Thanks for mailing me and asking for improvements. ( and greetings to lubosdz, I feel with you ) |
||||||||||||||
|
Site Admin
|
guys, it's still unclear what you need.
According to the description, you have two set of files in one project. One set has 2spaces as an indentation step and remaining has 1tab per indent. On the other hand, per-project settings would allow to set different spaces/tabs for different projects. Okay. What's about files in one project? Isn't it clear it won't help? |
||||||||||||
_________________ The PHP IDE team |
|
IMHO, the best solution would be to support http://editorconfig.org/ editorconfig files.
These is a list of IDEs, Editors that use it:
Brackets Coda Eclipse Emacs Geany Gedit jEdit Komodo NetBeans Notepad++ PyCharm SublimeText textmate Vim Visual Studio Visula Studio Code On the website it is short but detailed explained how this works. PhpED needs to lookout for .editorconfig files in each of its project directories, and if found one, parse it. After parsing all those files, if there are multiple, there is a final result, that needs to be translated / transmitted into PhpEDs Editor settings. When activating another project, the parsing needs to be repeated. Come on dmitri, PhpEd scans and parses half of my PC when I open a project, and it presents me everything what may have changed, even when changed outsite of PhpED, in lightning speed. I believe you guys are able to implement this in a few hours. Please have a read there on the website. It is easy, unobtrusive and very powerful. And nothing had to be set in PhpEDs settings. Every thing goes automagicaly. Only one thing may be added to the editor settings or project settings: the possibility to ignore the .editorconfig files for a particular project. |
||||||||||||
|
|
That would be awesome if PHPEd could support http://editorconfig.org/
It's the first time I saw this, but it would be the best solution I could imagine. Thanks for sharing. |
||||||||||||
|
Guru master
|
I would really like projects to remember the number of spaces. Currently I set PhpED to 2 spaces and then do a double indents/outdents when it needs to be 4 spaces (tedious).
I do also work on some projects where according to the standards, the number of spaces varies between different file types. PHP and HTML 4 spaces, CSS and Twig 2 spaces, etc. So being able to set the number of spaces by file type on a per project basis would be nice, but I would be happy to be able to set it just for individual files, just like you can set the encoding. |
||||||||||||
|
|
VERY GOOD NEWS HERE: http://www.nusphere.com/products/php_ide_editorconfig.htm
|
||||||||||||
|
Code formating on per project basis |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by