Skip to content

Commit

Permalink
Documenting changes needed to run local tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Dec 19, 2024
1 parent 56fba2f commit 3c802ec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/client/src/highlighter/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import * as vscode from 'vscode'

// This is the implementation, we should finally use this code
// and adapt tests to run as integration tests

export const createRange = (line: number, column: number, length: number): vscode.Range =>
new vscode.Range(
new vscode.Position(line, column),
Expand All @@ -12,6 +15,13 @@ export const createRange = (line: number, column: number, length: number): vscod
tokenModifiers?: string[]
}

// ================================================================================================
//
// Uncomment this to have quick answer by running
// yarn run test:highlighter
//
// ================================================================================================
//
// export const createRange = (line: number, column: number, length: number): Range =>
// ({
// start: {
Expand Down

0 comments on commit 3c802ec

Please sign in to comment.