Sublime Forum

Per repository editor?

#1

Is it possible to have per-repository preferences such as Editor Path and Editor Argument Format?

I hate to admit it, but I do use VS Code a lot lately, but still some other projects are fine with Sublime Text setup. So depending on repo, I’d like to switch “Open in Editor…” behavior automatically.

Also, sadly, Sublime Text and VS Code use different Argument syntax, so it’s more things to change to switch each time.

0 Likes

#2

Maybe just write a wrapper script to launch your preferred editor based on the project and configure SM to use that

0 Likes

#3

What exactly are you trying to achieve? Sublime has a Tools > Build System that allows you to execute build commands on any file type and this does support the current project path. Simply Project > Switch project and you can add the root .git repository as the project folder.

0 Likes

#4

The question is about Sublime Merge.

0 Likes

#5

Ah, yes I do not see how this is possible per repo.

0 Likes