Skip to content

Commit

Permalink
Merge pull request #1809 from rchande/optionNames
Browse files Browse the repository at this point in the history
Rename CodeLens options to match JS/TS option names
  • Loading branch information
DustinCampbell authored Oct 26, 2017
2 parents 0ee4662 + b74b0aa commit 98b4fe7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,12 @@
"default": true,
"description": "Suppress 'hidden' diagnostics (such as 'unnecessary using directives') from appearing in the editor or the Problems pane."
},
"csharp.showReferencesCodeLens": {
"csharp.referencesCodeLens.enabled": {
"type": "boolean",
"default": true,
"description": "Specifies whether the references CodeLens should be show be shown."
},
"csharp.showTestsCodeLens": {
"csharp.testsCodeLens.enabled": {
"type": "boolean",
"default": true,
"description": "Specifies whether the run and debug test CodeLens should be show be shown."
Expand Down
4 changes: 2 additions & 2 deletions src/omnisharp/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export class Options {

const useFormatting = csharpConfig.get<boolean>('format.enable', true);

const showReferencesCodeLens = csharpConfig.get<boolean>('showReferencesCodeLens', true);
const showTestsCodeLens = csharpConfig.get<boolean>('showTestsCodeLens', true);
const showReferencesCodeLens = csharpConfig.get<boolean>('referencesCodeLens.enabled', true);
const showTestsCodeLens = csharpConfig.get<boolean>('testsCodeLens.enabled', true);

const disableCodeActions = csharpConfig.get<boolean>('disableCodeActions', false);

Expand Down

0 comments on commit 98b4fe7

Please sign in to comment.