-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XSD CodeLens references should be clickable
Fix eclipse-lemminx/lemminx#490 This PR bind the XSD CodeLens references command to a function which opens the vscode references.
- Loading branch information
1 parent
1e46c5d
commit dabc1c4
Showing
2 changed files
with
62 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* Copyright (c) 2019 Red Hat, Inc. and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Red Hat Inc. - initial API and implementation | ||
*/ | ||
'use strict'; | ||
|
||
/** | ||
* Commonly used commands | ||
*/ | ||
export namespace Commands { | ||
|
||
/** | ||
* Auto close tags | ||
*/ | ||
export const AUTO_CLOSE_TAGS= 'xml.completion.autoCloseTags'; | ||
|
||
/** | ||
* Show XML references | ||
*/ | ||
export const SHOW_REFERENCES = 'xml.show.references'; | ||
|
||
/** | ||
* Show editor references | ||
*/ | ||
export const EDITOR_SHOW_REFERENCES = 'editor.action.showReferences'; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters