-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vscode migration #124
Closed
Closed
Vscode migration #124
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
49abfca
Migrating the repo to a vscode extension
1913bcc
Make the status message passing work
tahini f3fc0c6
Change the trace viewer icon for the icon taken from theia
tahini 1c22804
Open the view on the currently selected trace
tahini 6095df6
various fixes and readme update
tahini f7cfcf7
Rename @tracecompass to @trace-viewer
tahini 6c4700e
Make linter work
tahini 82600f7
Add support to open traces from file explorer
tahini 0012098
Make the views closeable
tahini 9abc4a5
Add support of theia electron and browser app with SSL
tahini 0829d68
Try to fix the debug of the webview
tahini 591375d
Clean up traceviewer extension
tahini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
node_modules | ||
.browser_modules | ||
lib | ||
build | ||
*.log | ||
TraceCompassTutorialTraces | ||
trace-compass-server | ||
trace-compass-server.tar.gz | ||
TraceCompassTutorialTraces.tgz | ||
*-app/* | ||
!*-app/package.json | ||
!*-app/electron-builder.yml | ||
!*-app/resources/ | ||
!*-app/scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
// See http://go.microsoft.com/fwlink/?LinkId=827846 | ||
// for the documentation about the extensions.json format | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"reinstall": "rimraf ./**/node_modules && yarn install", | ||
"prepare": "lerna run prepare", | ||
"build": "lerna run build", | ||
"rebuild:browser": "theia rebuild:browser", | ||
"rebuild:electron": "theia rebuild:electron", | ||
"start:browser": "yarn rebuild:browser ; yarn --cwd browser-app start", | ||
"start:electron": "yarn rebuild:electron ; yarn --cwd electron-app start", | ||
"build:vscode-extension": "yarn workspace @trace-viewer/vscode-extension build", | ||
"start:browser": "yarn rebuild:browser ; yarn --cwd app/browser start", | ||
"start:electron": "yarn rebuild:electron ; yarn --cwd app/electron start", | ||
"download:sample-traces": "curl -o TraceCompassTutorialTraces.tgz https://raw.githubusercontent.com/tuxology/tracevizlab/master/labs/TraceCompassTutorialTraces.tgz; tar -xf TraceCompassTutorialTraces.tgz", | ||
"download:server": "curl -o trace-compass-server.tar.gz https://download.eclipse.org/tracecompass.incubator/trace-server/rcp/trace-compass-server-latest-linux.gtk.x86_64.tar.gz; tar -xf trace-compass-server.tar.gz", | ||
"start:server": "./trace-compass-server/tracecompass-server", | ||
"start-all:browser": "yarn start:server & yarn start:browser", | ||
"start-all:electron": "yarn start:server & yarn start:electron", | ||
"lint": "yarn workspace trace-viewer run lint", | ||
"test": "echo test" | ||
"lint": "lerna run lint", | ||
"test": "lerna run test", | ||
"vsce:package": "yarn workspace traceviewer run vsce package" | ||
}, | ||
"devDependencies": { | ||
"lerna": "2.4.0" | ||
"lerna": "2.4.0", | ||
"rimraf": "^3.0.2" | ||
}, | ||
"workspaces": [ | ||
"viewer-prototype", | ||
"browser-app", | ||
"electron-app" | ||
"packages/base", | ||
"packages/react-components", | ||
"packages/vscode-extension" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** @type {import('eslint').Linter.Config} */ | ||
module.exports = { | ||
root: true, | ||
parser: "@typescript-eslint/parser", // Specifies the ESLint parser | ||
parserOptions: { | ||
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features | ||
sourceType: "module", // Allows for the use of imports | ||
tsconfigRootDir: __dirname, | ||
project: 'tsconfig.json', | ||
projectFolderIgnoreList: [ | ||
'/lib/' | ||
] | ||
}, | ||
extends: [ | ||
'plugin:@typescript-eslint/recommended', | ||
'../../configs/base.eslintrc.json', | ||
'../../configs/warnings.eslintrc.json', | ||
'../../configs/errors.eslintrc.json' | ||
], | ||
ignorePatterns: [ | ||
'node_modules', | ||
'lib', | ||
'.eslintrc.js', | ||
'plugins' | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "@trace-viewer/base", | ||
"version": "0.0.0", | ||
"description": "Trace Compass base package, contains trace management utilities", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/theia-ide/theia-trace-extension" | ||
}, | ||
"files": [ | ||
"lib", | ||
"src" | ||
], | ||
"dependencies": { | ||
"tsp-typescript-client": "next" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^3.4.0", | ||
"@typescript-eslint/parser": "^3.4.0", | ||
"eslint": "^7.3.0", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-no-null": "^1.0.2", | ||
"eslint-plugin-react": "^7.20.0", | ||
"rimraf": "latest", | ||
"typescript": "latest" | ||
}, | ||
"scripts": { | ||
"prepare": "yarn clean && yarn build", | ||
"clean": "rimraf lib", | ||
"build": "tsc", | ||
"watch": "tsc -w", | ||
"lint": "eslint ." | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the intention to drop the example applications?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add entries for the new app folders if you want them built along with the rest: