How to install an external editor in Xcode 4.2

All the messages that I found suggest moving to the "File Types" section in Xcode settings and adding an external editor for a specific file type. However, these options do not seem to be present on Xcode 4.2.

+6
source share
4 answers

It seems like it just goes through LaunchServices, so ... whatever you get by opening it with Finder by default.

+10
source

I looked around and I could not understand. I notice that by right-clicking on the source file, there is a greyed out option for "open in external editor". I could not figure out how to do this at first glance.

A smart solution would be to right-click on the source file that you want to edit, click "Show in Finder", and then edit the file in the editor of your choice. Changes will be automatically updated in Xcode. I think you will lose the undo / redo history you might have had for this file in Xcode, though.

0
source

I agree that you need to change the default setting for the file type in Finder. The best way to do this is to right-click on any similar file in Finder. Select "Get Info" from the pop-up menu. Then view the list for the "Open with" drop-down list. Select your chosen editor, and then under the words "Use this option to open all documents like this," click "Change all ..."

Then it will change the default value for all your applications.

0
source

you need to make the editor you need, this is the default editor for the file type (cpp / h / lua ..). step: the first time you show in finder ', then open the file with "open as", then select the editor you want, make sure you select "always open it." now everything is fine.

-1
source

Source: https://habr.com/ru/post/902082/


All Articles