-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Display of Log Point Suggestions (#103)
- The icon for recommended/enabled operator log points is displayed at the very beginning of the line of the respective operator. This icon knows three states: - Log point recommended (gray outline) - Log point enabled (filled red) - Some log points enabled (filled gray; in case of multiple log points on one line, but not all of them enabled) - Try out: The log point indicator icon resembles a miniature version of Archie - Managing operator log points still works via the hover message of the actual operator Closes #64
- Loading branch information
Showing
39 changed files
with
1,009 additions
and
444 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"rxjs-debugging.config.title": "RxJS Debugging", | ||
"rxjs-debugging.config.hideLiveLogWhenStoppingDebugger": "When enabled, live log values are hidden automatically after stopping the debugger.", | ||
"rxjs-debugging.config.showOperatorLogPointRecommendations": "When enabled, recommended operator log points will be shown automatically. Hint: You can toggle this setting using the related command in the command palette as well.", | ||
"rxjs-debugging.config.recommendOperatorLogPointsWithAnIcon": "When enabled, recommended operator log points will be indicated using an icon at the beginning of the line. Hint: You can toggle this setting using the related command in the command palette as well.", | ||
"rxjs-debugging.config.logLevel": "Internal log level for the extension. (reload required)", | ||
"rxjs-debugging.command.toggleOperatorLogPointRecommendations": "Toggle Display of Operator Log Point Recommendations" | ||
|
||
"rxjs-debugging.command.toggleOperatorLogPointGutterIcon": "Toggle gutter icon for recommended operator log points" | ||
} |
57 changes: 57 additions & 0 deletions
57
packages/extension/resources/rxjs-operator-log-point-all-enabled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions
57
packages/extension/resources/rxjs-operator-log-point-disabled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions
57
packages/extension/resources/rxjs-operator-log-point-some-enabled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import { IOperatorIdentifier } from '@rxjs-debugging/telemetry/out/operatorIdentifier'; | ||
import { Position, Uri } from 'vscode'; | ||
import OperatorLogPoint from '../operatorLogPoint'; | ||
|
||
export const enum Commands { | ||
EnableOperatorLogPoint = 'rxjs-debugging-for-vs-code.command.enableOperatorLogPoint', | ||
DisableOperatorLogPoint = 'rxjs-debugging-for-vs-code.command.disableOperatorLogPoint', | ||
ToggleOperatorLogPointRecommendations = 'rxjs-debugging-for-vs-code.command.toggleOperatorLogPointRecommendations', | ||
ToggleOperatorLogPointGutterIcon = 'rxjs-debugging-for-vs-code.command.toggleOperatorLogPointGutterIcon', | ||
} | ||
|
||
export interface ICommandTypes { | ||
[Commands.EnableOperatorLogPoint]: (uri: Uri, position: Position, operatorIdentifier: IOperatorIdentifier) => void; | ||
[Commands.DisableOperatorLogPoint]: (uri: Uri, position: Position, operatorIdentifier: IOperatorIdentifier) => void; | ||
[Commands.ToggleOperatorLogPointRecommendations]: () => void; | ||
[Commands.EnableOperatorLogPoint]: (operatorLogPoint: OperatorLogPoint | string) => void; | ||
[Commands.DisableOperatorLogPoint]: (operatorLogPoint: OperatorLogPoint | string) => void; | ||
[Commands.ToggleOperatorLogPointGutterIcon]: () => void; | ||
} |
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
Oops, something went wrong.