Skip to content

Commit

Permalink
revert path
Browse files Browse the repository at this point in the history
  • Loading branch information
ivojawer committed Jan 20, 2025
1 parent 22ffefd commit ce3d5ac
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
asShellString,
fsToShell,
} from './platform-string-utils'
import { COMMAND_RUN_ALL_TESTS, COMMAND_RUN_GAME, COMMAND_RUN_PROGRAM, COMMAND_RUN_TEST, COMMAND_START_REPL, wollokLSPExtensionCode, COMMAND_INIT_PROJECT, COMMAND_DEBUG } from '@shared/definitions'
import { COMMAND_RUN_ALL_TESTS, COMMAND_RUN_GAME, COMMAND_RUN_PROGRAM, COMMAND_RUN_TEST, COMMAND_START_REPL, wollokLSPExtensionCode, COMMAND_INIT_PROJECT, COMMAND_DEBUG } from '../../shared/definitions'
import { getLSPMessage } from './messages'

export const subscribeWollokCommands = (context: ExtensionContext): void => {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
import { WollokDebugAdapterFactory, WollokDebugConfigurationProvider } from '../../debug-adapter/src/index'
import { subscribeWollokCommands } from './commands'
import { getLSPMessage } from './messages'
import { wollokLSPExtensionId } from '@shared/definitions'
import { wollokLSPExtensionId } from '../../shared/definitions'
import { allWollokFiles } from './utils'
import { legend, provider, selector } from './highlighter'

Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/highlighter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import * as vscode from 'vscode'
import { tokenModifiers, tokenTypes, WollokNodePlotter, WollokPosition } from './highlighter/definitions'
import { processDocument } from './highlighter/tokenProvider'
import { wollokLSPExtensionCode } from '@shared/definitions'
import { wollokLSPExtensionCode } from '../../shared/definitions'

const convertToVSCPosition = (position: WollokPosition) =>
new vscode.Position(position.line, position.column)
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/messages.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getMessage, LANGUAGES, Messages } from 'wollok-ts'
import { COMMAND_RUN_ALL_TESTS, COMMAND_RUN_GAME, COMMAND_RUN_PROGRAM, COMMAND_RUN_TEST, wollokLSPExtensionCode } from '@shared/definitions'
import { COMMAND_RUN_ALL_TESTS, COMMAND_RUN_GAME, COMMAND_RUN_PROGRAM, COMMAND_RUN_TEST, wollokLSPExtensionCode } from '../../shared/definitions'
import { workspace } from 'vscode'

export const languageDescription: { [key: string]: LANGUAGES } = {
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/functionalities/code-lens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CodeLens, CodeLensParams, Position, Range } from 'vscode-languageserver
import { Describe, Node, Package, Test, Program, Environment, is, PROGRAM_FILE_EXTENSION, TEST_FILE_EXTENSION, WOLLOK_FILE_EXTENSION, Class, Singleton, Entity } from 'wollok-ts'
import { getWollokFileExtension, packageFromURI, toVSCRange } from '../utils/text-documents'
import { removeQuotes } from '../utils/strings'
import { COMMAND_DEBUG, COMMAND_RUN_ALL_TESTS, COMMAND_RUN_GAME, COMMAND_RUN_PROGRAM, COMMAND_RUN_TEST, COMMAND_START_REPL } from '@shared/definitions'
import { COMMAND_DEBUG, COMMAND_RUN_ALL_TESTS, COMMAND_RUN_GAME, COMMAND_RUN_PROGRAM, COMMAND_RUN_TEST, COMMAND_START_REPL } from '../../../shared/definitions'
import { COMMAND_EXECUTE, COMMAND_EXECUTE_DEBUG, getLSPMessage } from './reporter'

export const codeLenses = (environment: Environment) => (params: CodeLensParams): CodeLens[] | null => {
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/functionalities/reporter.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getMessage, LANGUAGES, Messages, Problem } from 'wollok-ts'
import { lang } from '../settings'
import { COMMAND_RUN_ALL_TESTS, COMMAND_RUN_GAME, COMMAND_RUN_PROGRAM, COMMAND_RUN_TEST, COMMAND_START_REPL } from '@shared/definitions'
import { COMMAND_RUN_ALL_TESTS, COMMAND_RUN_GAME, COMMAND_RUN_PROGRAM, COMMAND_RUN_TEST, COMMAND_START_REPL } from '../../../shared/definitions'

// ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════
// CUSTOM MESSAGES DEFINITION
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/settings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Connection } from 'vscode-languageserver/node'
import { wollokLSPExtensionCode } from '@shared/definitions'
import { wollokLSPExtensionCode } from '../../shared/definitions'
import { LANGUAGES } from 'wollok-ts'

export const DEFAULT_REPL_PORT = 3000
Expand Down
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
"resolveJsonModule": true,
"esModuleInterop": false,
"experimentalDecorators": true,
"skipLibCheck": true,
"paths": {
"@shared/*": ["./packages/shared/*"]
}
"skipLibCheck": true
},
"exclude": ["node_modules", ".vscode-test", "out"]
}

0 comments on commit ce3d5ac

Please sign in to comment.