mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-11-15 03:35:59 +00:00
Added current indentation level and line number hotkey
This commit is contained in:
parent
46fef452d8
commit
0dce1dde23
@ -154,8 +154,6 @@ function getIndent(): void {
|
|||||||
let editor = vscode.window.activeTextEditor;
|
let editor = vscode.window.activeTextEditor;
|
||||||
if(editor)
|
if(editor)
|
||||||
{
|
{
|
||||||
let tabSize = editor.options.tabSize;
|
|
||||||
let editorText = editor?.document.getText();
|
|
||||||
let lineNum = editor.selection.active.line + 1;
|
let lineNum = editor.selection.active.line + 1;
|
||||||
let textLine = editor.document.lineAt(lineNum - 1);
|
let textLine = editor.document.lineAt(lineNum - 1);
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user