x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

It only shows VS for a source code editor

In Editor Preferences - General - Source Code - Accessor - Source Code Editor, I only have the option to chose VS altough I have plenty of other editors. I'd like to use another one, how can I do it? Do the editor have to be installed within Unreal? I dont get it. Id like solutions that do not implicate VS.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 23 '15 at 06:08 PM in C++ Programming

avatar image

Skimphy
8 2 3 7

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hi Skimphy,

That list is populated by the classes that derive from ISourceCodeAccessor, and on Windows, only FVisualStudioSourceCodeAccessor is available by default.

We do have implementations for other editors, such as Code::Blocks and KDevelop, but those are currently only available on Linux.

What editor are you looking to use? If it's not one we support, you could make your own plugin and implement the ISourceCodeAccessor interface to allow the editor to access it.

Thanks, Jamie.

more ▼

answered Jul 23 '15 at 09:42 PM

avatar image

Jamie Dale STAFF
7.4k 176 66 304

avatar image Skimphy Jul 23 '15 at 10:14 PM

Thank you, I do use Code::Blocks, will a plugin work for windows too?

avatar image Jamie Dale STAFF Jul 24 '15 at 11:01 AM

Sorry, I misspoke. I meant CodeLite, not Code::Blocks.

Looking at the implementation of FCodeLiteSourceCodeAccessor, it looks that it's currently hard-coded to only work on Linux... I'm not even sure that UBT will generate CodeLite projects on platforms other than Linux.

avatar image Skimphy Jul 24 '15 at 06:04 PM

Do I have any options?

avatar image Jamie Dale STAFF Jul 24 '15 at 06:48 PM

Well, we currently only officially support Visual Studio 2013 on Windows, so I'm afraid to say that your options in using editors other than VS will rely on your own ingenuity.

If you don't want to go to the trouble of creating your own ISourceCodeAccessor plugin for the editor (and potentially even your own UBT project generator), then you do have the option of using other editors to handle your text editing, and then just invoke UBT to handle the building (I know people who do this with Sublime Text). It's a simpler solution, but it does mean that debugging still has to be done in Visual Studio.

avatar image huulong May 07 '18 at 10:55 PM

I already have my scripts setup for Build and all from my favorite text editor, I just want to open it when I click on the file(line) of a error in the Compiler Log (typically after a Hot Reload).

Unity allows you to set the code editor with light settings (just pass the arguments file:line) so you can quickly switch editor. I understand that having a full interface with build scripts is better, but couldn't there be a fallback interface implementation BasicSourceCodeAccessor : ISourceCodeAccessor that just supports OpenFileAtLine()?

It would use an application binary path member and a parameter format member. It shows an error if we try to do more, such as "Generate projects not implemented for BasicSourceCodeAccessor (MyCodeEditor): you need a plugin to provide full support to MyCodeEditor."

avatar image Shadowriver Jul 24 '15 at 12:17 AM

I also looking for VS alternatives :) whould be nice to have more options on Windows

(comments are locked)
10|2000 characters needed characters left

See the Linux C++ projects and IDE's for configuration, more information, and plugins for several editors:

more ▼

answered Nov 10 '15 at 12:44 AM

avatar image

idbrii
512 5 15 43

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question