Merge pull request #12525 from neikeq/wololo

Remove Visual Studio for now from the external editors list
This commit is contained in:
Rémi Verschelde 2017-10-30 23:47:34 +01:00 committed by GitHub
commit f021b00389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

@ -171,11 +171,6 @@ Error GodotSharpEditor::open_in_external_editor(const Ref<Script> &p_script, int
String script_path = ProjectSettings::get_singleton()->globalize_path(p_script->get_path()); String script_path = ProjectSettings::get_singleton()->globalize_path(p_script->get_path());
monodevel_instance->execute(script_path); monodevel_instance->execute(script_path);
} break; } break;
case EDITOR_VISUAL_STUDIO:
// TODO
// devenv <PathToSolutionFolder>
// devenv /edit <PathToCsFile> /command "edit.goto <Line>"
// HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7
default: default:
return ERR_UNAVAILABLE; return ERR_UNAVAILABLE;
} }
@ -229,7 +224,7 @@ GodotSharpEditor::GodotSharpEditor(EditorNode *p_editor) {
if (!ed_settings->has_setting("mono/editor/external_editor")) { if (!ed_settings->has_setting("mono/editor/external_editor")) {
ed_settings->set_setting("mono/editor/external_editor", EDITOR_NONE); ed_settings->set_setting("mono/editor/external_editor", EDITOR_NONE);
} }
ed_settings->add_property_hint(PropertyInfo(Variant::INT, "mono/editor/external_editor", PROPERTY_HINT_ENUM, "None,MonoDevelop,Visual Studio,Visual Studio Code")); ed_settings->add_property_hint(PropertyInfo(Variant::INT, "mono/editor/external_editor", PROPERTY_HINT_ENUM, "None,MonoDevelop,Visual Studio Code"));
} }
GodotSharpEditor::~GodotSharpEditor() { GodotSharpEditor::~GodotSharpEditor() {

View file

@ -69,7 +69,6 @@ public:
enum ExternalEditor { enum ExternalEditor {
EDITOR_NONE, EDITOR_NONE,
EDITOR_MONODEVELOP, EDITOR_MONODEVELOP,
EDITOR_VISUAL_STUDIO,
EDITOR_CODE, EDITOR_CODE,
}; };