NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
project-specific editor settings ("use tab character&qu


Joined: 29 Oct 2008
Posts: 4
Reply with quote
I am working in IT outsource company, we have different clients with different rules for code style. My problem is that for one project we must use tabs for indent, in other spaces. I am switching from project to project several times per day and it takes time for me to check and replace tabs to spaces or backwards + toggle "use tab character" setting value. I think this setting and maybe a few others like "Keep trailing blanks", "spaces in tab", "block indent" and others which affect source code, may be specific for project and maybe even can be moved to other settings group or menu (just an idea).

But my main question is - could you make it possible to add a "Project-specific editor settings" the same way as you have in project settings "Parser" tab where I can override default parser settings?

Dmitri
View user's profileFind all posts by dumkaSend private message
Veteran

Joined: 02 Sep 2007
Posts: 116
Location: Kiel, Germany
Reply with quote
+1 for that. I'm often working with code from my customers or from some open source project, and every time I have to switch these settings in order to follow the respective coding style. Being able to store this in the project settings would be really nice.

Cheers,
Jan
View user's profileFind all posts by EnigmaSend private message


Joined: 02 Jul 2009
Posts: 5
Location: Dayton, Ohio
Reply with quote
This is also the case for me. Specifically, I work FT with Drupal and I work PT with CakePHP and, occasionally, with my own projects. I actually have my customers setup with each warranting their own workspace and then each site is a specific project. If you couldn't do per-project settings for some reason, I believe per-workspace should also be acceptable.

This is a reasonable, and common, feature desired by developers working with multiple clients.
View user's profileFind all posts by jgadrowSend private messageYahoo Messenger


Joined: 11 Aug 2006
Posts: 15
Reply with quote
That would be a nice improvement...

+1
View user's profileFind all posts by thesilentmanSend private message


Joined: 11 May 2008
Posts: 79
Reply with quote
+1 from me.
Although it would be nice to see a full featured sophisticated code style configurator at last, in phped options. Where the braces should be placed, where whitespaces, whether on new line or not, etc. etc. This is so common nowadays.
View user's profileFind all posts by tedychSend private message
About to be a deal breaker


Joined: 16 Jan 2013
Posts: 2
Reply with quote
I have used PHPed for many years and love it. I have worked my around this feature for a long time, however, it is starting to become a deal breaker.

+++1 Please include this feature soon.
View user's profileFind all posts by dragonwizeSend private message


Joined: 06 Nov 2011
Posts: 2
Location: Netherlands
Reply with quote
I was hoping that PHP Frameworks support in phpEd would finally bring this functionality. But it wasn't. So I'd like to give this feature a bump.

I've been using phpEd for years now and still every now and then I forget to switch to spaces or tabs when switching projects.

A feature releated to this (and absolutely related to the original feature request): some editors offer to only "Keep trailing blanks" on changed lines. As phpEd knows which lines I've edited (with the yellow line in the gutter), I suppose it's not a really big deal to provide such a feature.

Thanks! I still like the editor more than any other editor around!
View user's profileFind all posts by markvdsSend private message


Joined: 12 Jul 2007
Posts: 25
Reply with quote
I'd love to see this feature in the next update. I often work with different teams and it happens so often that I forget to switch the setting.
View user's profileFind all posts by frameSend private message
4 formating settings as per project basis


Joined: 30 May 2006
Posts: 35
Reply with quote
Exactly feature that would remove all my daily frustration from PHPEd.

It's really frustrating to work on a projects that has angular/coffee script with 2 space indentation NO TABS and PHP scripts with TABS 4 spaces indentation.

+100 thumbs up for setting following editor setting as per project/file type basis:

- use tab character
- optimal fill
- spaces in tab (4)
- block indent (4)

These 4 settings are the ones I must keep switching back- and forth- few times during daily development in order not to break existing formatting.
I took a look at PHPStorm - that's exactly solution which would be perfect.

If formatting "per project and file type" would be too complex, then formatting "per file" type would be still sufficient, or at least much better than current "one formatting for all files".

Thank you.
Lubos
View user's profileFind all posts by lubosdzSend private message


Joined: 12 Jul 2007
Posts: 25
Reply with quote
After 10(!) years of being a super loyal PhpED customer, I was forced to switch to a different IDE this summer because of this missing feature.
View user's profileFind all posts by frameSend private message
project-specific editor settings ("use tab character&qu
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic