diff --git a/extension/src/browser/extension/options/EditorGroup.tsx b/extension/src/browser/extension/options/EditorGroup.tsx index 130ef824..dd981e10 100644 --- a/extension/src/browser/extension/options/EditorGroup.tsx +++ b/extension/src/browser/extension/options/EditorGroup.tsx @@ -47,37 +47,12 @@ export default ({ options, saveOption }: OptionsProps) => { id="editor" type="text" size={33} - maxLength={30} - placeholder="vscode, atom, webstorm, sublime..." - value={options.editor} + placeholder={'vscode://file/{path}:{line}:{column}'} + value={options.editorURL} disabled={options.useEditor !== EditorState.EXTERNAL} - onChange={(e) => - saveOption('editor', e.target.value.replace(/\W/g, '')) - } + onChange={(e) => saveOption('editorURL', e.target.value)} /> -
- -
-