How to setup "use tab character" for all the file types and all projects

Hi.

 

I want to turn on "use tab character" (in the "Intends" category) for all the file types (php, javascript etc.).  Am I supposed to do this for every file type separately, or is there a global setting?

I also would like to use tabs on all project, old and future, am I right that this is what File -> default settings is for?

 

 

2 comments

Hi there,

> I want to turn on "use tab character" (in the "Intends" category) for all the file types (php, javascript etc.).  Am I supposed to do this for every file type separately, or is there a global setting?

There is no global settings for that. There are not so many supported file types where you need to set it up so it would not take much time to run trough all of them (under 30 seconds I guess).

If you wish -- you can install EditorConfig plugin and override Code Style settings using .editorconfig file (the whole nature of such files) -- there you can specify to use Tab character for all files regardless of file type/extension.

> I also would like to use tabs on all project, old and future, am I right that this is what File -> default settings is for?

Not exactly. The scheme is shared between all project (unless you choose to use "Project" scheme which is project-specific) so it will apply to all projects that using it.

But yes -- using that settings you can specify what scheme will be used for future new projects (Default Settings do not affect existing projects in any way).

1

Please sign in to leave a comment.