mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-11-15 03:35:59 +00:00
mindReader -> mind-reader
This commit is contained in:
parent
ec6b96bd9a
commit
3bffd6a9fd
@ -244,17 +244,17 @@
|
||||
{
|
||||
"command": "editor.action.fontZoomOut",
|
||||
"key": "Shift+Alt+z -",
|
||||
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
|
||||
"when": "editorTextFocus && config.mind-reader.reader.screenReader != JAWS"
|
||||
},
|
||||
{
|
||||
"command": "editor.action.fontZoomIn",
|
||||
"key": "Shift+Alt+z =",
|
||||
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
|
||||
"when": "editorTextFocus && config.mind-reader.reader.screenReader != JAWS"
|
||||
},
|
||||
{
|
||||
"command": "editor.action.fontZoomReset",
|
||||
"key": "Shift+Alt+z 0",
|
||||
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
|
||||
"when": "editorTextFocus && config.mind-reader.reader.screenReader != JAWS"
|
||||
},
|
||||
{
|
||||
"command": "mind-reader.getIndent",
|
||||
|
@ -65,7 +65,7 @@ async function connectHub(): Promise<void> {
|
||||
return;
|
||||
}
|
||||
|
||||
let portPath: string | undefined = vscode.workspace.getConfiguration('mindReader.connection').get('portPath');
|
||||
let portPath: string | undefined = vscode.workspace.getConfiguration('mind-reader.connection').get('portPath');
|
||||
|
||||
if (!portPath) {
|
||||
let slots: vscode.QuickPickItem[] = [];
|
||||
|
@ -316,7 +316,7 @@ function createContextString(context: pl.LexNode[], line: number): string {
|
||||
|
||||
/*
|
||||
* find up to `n` words around the cursor, where `n` is
|
||||
* the value of `#mindReader.reader.contextWindow`
|
||||
* the value of `#mind-reader.reader.contextWindow`
|
||||
*/
|
||||
function runCursorContext(): void {
|
||||
const editor: TextEditor | undefined = window.activeTextEditor;
|
||||
@ -328,7 +328,7 @@ function runCursorContext(): void {
|
||||
|
||||
const cursorPos : Position = editor.selection.active;
|
||||
const text : string = editor.document.lineAt(cursorPos).text;
|
||||
const windowSize : any = workspace.getConfiguration('mindReader').get('reader.contextWindow');
|
||||
const windowSize : any = workspace.getConfiguration('mind-reader').get('reader.contextWindow');
|
||||
let trimmedText: string = text.trimStart(); // trim leading whitespace
|
||||
const leadingWS : number = text.length - trimmedText.length; // # of characters of leading whitespace
|
||||
let pos : number = leadingWS;
|
||||
|
@ -7,7 +7,7 @@ import { lineHighlighter } from "./lineHi
|
||||
import { accessCommands, hubCommands, navCommands, textCommands } from "./commands";
|
||||
|
||||
// Output Logger
|
||||
const product: string = vscode.workspace.getConfiguration("mindReader").get("productType")!;
|
||||
const product: string = vscode.workspace.getConfiguration("mind-reader").get("productType")!;
|
||||
const outputChannel = vscode.window.createOutputChannel(product + " Output");
|
||||
export const logger = new Logger(outputChannel);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user