Skip to content

Commit

Permalink
Add side by side comparison feature
Browse files Browse the repository at this point in the history
  • Loading branch information
danylo-hotskivskyi-asml committed Nov 21, 2024
1 parent 809de19 commit 124452a
Show file tree
Hide file tree
Showing 65 changed files with 7,918 additions and 3,823 deletions.
40 changes: 20 additions & 20 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', "plugin:react/recommended"],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', "react"],
root: true,
rules: {
"no-useless-escape": "off",
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "variable",
"format": ["camelCase","PascalCase","UPPER_CASE"]
}
],
'react/jsx-uses-react': "error",
'react/jsx-uses-vars': "error",
}
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', "plugin:react/recommended"],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', "react"],
root: true,
rules: {
"no-useless-escape": "off",
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "variable",
"format": ["camelCase","PascalCase","UPPER_CASE"]
}
],
'react/jsx-uses-react': "error",
'react/jsx-uses-vars': "error",
}
};
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules/
out/
workspace/
*.vsix
examples/*.tracy.json
examples/*.tracy.json
!log/
24 changes: 12 additions & 12 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
node_modules/
out/
workspace/
media/
examples/
.eslintrc.cjs
.github/
.vscode/
*.vsix
README.md
webpack.config.ts
tsconfig.json
node_modules/
out/
workspace/
media/
examples/
.eslintrc.cjs
.github/
.vscode/
*.vsix
README.md
webpack.config.ts
tsconfig.json
src/extension
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Tracy is a Visual Studio Code extension for the analysis of logs. It is meant as
</div>

## Installation
To install Tracy in Visual Studio Code:
To install Tracy in Visual Studio Code: test
1. Obtain the plugin `.vsix` file:
- If you want to install the latest release, go to the [Latest release](https://github.com/TNO/vscode-tracy/releases/latest) and download the `vscode-tracy-X.X.X.vsix` file under *Assests*.
- If you want to install a specific commit, click on the :heavy_check_mark: next to the commit -> *Details* -> *Summary* -> under *Artifacts*, *vscode-vsix* and extract the downloaded `vscode-vsix.zip`.
Expand Down
118 changes: 59 additions & 59 deletions docs/developer-documentation/components/App.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
# Component name
(Screenshot of component - Optional)

---
(Short description)

## Relations to other components

- **Parent:** ParentComponent
- **Children:**
- Child1
- Child2

## Props

| Name | Type | Description |
| ---- | ---- | ----------- |
| `prop1` | `type1` | short description |
| `prop2` | `type2` | short description |
| `prop3` | `type3` | short description |

## State

| Name | Type | Initial Value | Description |
| ---- | ---- | ------------- | ----------- |
| `stateObj1` | `type1` | `init value` | short description |
| `stateObj2` | `type1` | `init value` | short description |
| `stateObj3` | `type1` | `init value` | short description |

## Functions
### Component lifecycle functions
- ### `constructor(...)`
- **Params:**
- `props: Props`
- **Description:** Is invoked the first time the `StructureDialog` is opened. It constructs an array containing [StructureEntries](..\Types\StructureEntry.md) from the `logSelectedRows` props and updates the state accordingly.
- **Returns:** -

- ### `shouldComponentUpdate(...)`
- **Params:**
- `nextProps: Readonly<Props>`
- `nextState: Readonly<State>`
- `nextContext: any`
- **Description:** This function returns a `boolean` value that indicates whether or not rendering should be skipped. It returns `true` if ..., and ... otherwise.
- **Returns:** `boolean`

- ### `render()`
- **Description:**
- **Returns:** Div of type `JSX.Element` containing....

### Functionality-related functions
- ### `exampleFunctionWithNoParams()`
- **Description:** short description of what happens in the function.
- **Returns:** -

- ### `exampleFunctionWithParams(...)`
- **Params:**
- `name: type`
- **Description:** short description of what happens in the function.
- **Returns:** -
# Component name
(Screenshot of component - Optional)

---
(Short description)

## Relations to other components

- **Parent:** ParentComponent
- **Children:**
- Child1
- Child2

## Props

| Name | Type | Description |
| ---- | ---- | ----------- |
| `prop1` | `type1` | short description |
| `prop2` | `type2` | short description |
| `prop3` | `type3` | short description |

## State

| Name | Type | Initial Value | Description |
| ---- | ---- | ------------- | ----------- |
| `stateObj1` | `type1` | `init value` | short description |
| `stateObj2` | `type1` | `init value` | short description |
| `stateObj3` | `type1` | `init value` | short description |

## Functions
### Component lifecycle functions
- ### `constructor(...)`
- **Params:**
- `props: Props`
- **Description:** Is invoked the first time the `StructureDialog` is opened. It constructs an array containing [StructureEntries](..\Types\StructureEntry.md) from the `logSelectedRows` props and updates the state accordingly.
- **Returns:** -

- ### `shouldComponentUpdate(...)`
- **Params:**
- `nextProps: Readonly<Props>`
- `nextState: Readonly<State>`
- `nextContext: any`
- **Description:** This function returns a `boolean` value that indicates whether or not rendering should be skipped. It returns `true` if ..., and ... otherwise.
- **Returns:** `boolean`

- ### `render()`
- **Description:**
- **Returns:** Div of type `JSX.Element` containing....

### Functionality-related functions
- ### `exampleFunctionWithNoParams()`
- **Description:** short description of what happens in the function.
- **Returns:** -

- ### `exampleFunctionWithParams(...)`
- **Params:**
- `name: type`
- **Description:** short description of what happens in the function.
- **Returns:** -
118 changes: 59 additions & 59 deletions docs/developer-documentation/components/ContextMenu.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
# Component name
(Screenshot of component - Optional)

---
(Short description)

## Relations to other components

- **Parent:** ParentComponent
- **Children:**
- Child1
- Child2

## Props

| Name | Type | Description |
| ---- | ---- | ----------- |
| `prop1` | `type1` | short description |
| `prop2` | `type2` | short description |
| `prop3` | `type3` | short description |

## State

| Name | Type | Initial Value | Description |
| ---- | ---- | ------------- | ----------- |
| `stateObj1` | `type1` | `init value` | short description |
| `stateObj2` | `type1` | `init value` | short description |
| `stateObj3` | `type1` | `init value` | short description |

## Functions
### Component lifecycle functions
- ### `constructor(...)`
- **Params:**
- `props: Props`
- **Description:** Is invoked the first time the `StructureDialog` is opened. It constructs an array containing [StructureEntries](..\Types\StructureEntry.md) from the `logSelectedRows` props and updates the state accordingly.
- **Returns:** -

- ### `shouldComponentUpdate(...)`
- **Params:**
- `nextProps: Readonly<Props>`
- `nextState: Readonly<State>`
- `nextContext: any`
- **Description:** This function returns a `boolean` value that indicates whether or not rendering should be skipped. It returns `true` if ..., and ... otherwise.
- **Returns:** `boolean`

- ### `render()`
- **Description:**
- **Returns:** Div of type `JSX.Element` containing....

### Functionality-related functions
- ### `exampleFunctionWithNoParams()`
- **Description:** short description of what happens in the function.
- **Returns:** -

- ### `exampleFunctionWithParams(...)`
- **Params:**
- `name: type`
- **Description:** short description of what happens in the function.
- **Returns:** -
# Component name
(Screenshot of component - Optional)

---
(Short description)

## Relations to other components

- **Parent:** ParentComponent
- **Children:**
- Child1
- Child2

## Props

| Name | Type | Description |
| ---- | ---- | ----------- |
| `prop1` | `type1` | short description |
| `prop2` | `type2` | short description |
| `prop3` | `type3` | short description |

## State

| Name | Type | Initial Value | Description |
| ---- | ---- | ------------- | ----------- |
| `stateObj1` | `type1` | `init value` | short description |
| `stateObj2` | `type1` | `init value` | short description |
| `stateObj3` | `type1` | `init value` | short description |

## Functions
### Component lifecycle functions
- ### `constructor(...)`
- **Params:**
- `props: Props`
- **Description:** Is invoked the first time the `StructureDialog` is opened. It constructs an array containing [StructureEntries](..\Types\StructureEntry.md) from the `logSelectedRows` props and updates the state accordingly.
- **Returns:** -

- ### `shouldComponentUpdate(...)`
- **Params:**
- `nextProps: Readonly<Props>`
- `nextState: Readonly<State>`
- `nextContext: any`
- **Description:** This function returns a `boolean` value that indicates whether or not rendering should be skipped. It returns `true` if ..., and ... otherwise.
- **Returns:** `boolean`

- ### `render()`
- **Description:**
- **Returns:** Div of type `JSX.Element` containing....

### Functionality-related functions
- ### `exampleFunctionWithNoParams()`
- **Description:** short description of what happens in the function.
- **Returns:** -

- ### `exampleFunctionWithParams(...)`
- **Params:**
- `name: type`
- **Description:** short description of what happens in the function.
- **Returns:** -
Loading

0 comments on commit 124452a

Please sign in to comment.