Skip to content

Commit

Permalink
👌 IMPROVE: Same Word Highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadawais committed May 24, 2018
1 parent f9369a6 commit e3eb1d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}
5 changes: 2 additions & 3 deletions demo/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ const hello = "Hey, hello there";

class vsc extends React.Component {}

const ahmad = function() {};

let awais = function() {};
const ahmad = function () {};
let awais = function () {};
awais = 01;

const ahmad = 100;
Expand Down
4 changes: 2 additions & 2 deletions themes/shades-of-purple-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
// The slection color battle starts here.
"editor.selectionBackground": "#b362ff88", // Color of the editor selection.
"editor.inactiveSelectionBackground": "#7580b8c0", // Color of the selection in an inactive editor. The color must not be opaque to not hide underlying decorations.
"editor.selectionHighlightBackground": "#7e57c21e", // Color for regions with the same content as the selection. The color must not be opaque to not hide underlying decorations.
"editor.wordHighlightStrongBackground": "#FFFFFF0D", // Cursor inside current vairable.
"editor.selectionHighlightBackground": "#7e46df54", // Color for regions with the same content as the selection. The color must not be opaque to not hide underlying decorations.
"editor.wordHighlightBackground": "#FFFFFF0D", // Same words other places.
"editor.wordHighlightStrongBackground": "#FFFFFF0D", // Cursor inside current vairable.
"editor.findMatchBackground": "#FF7200", // Color of the current search match.
"editor.findMatchHighlightBackground": "#ff730056", // Color of the other search matches.The color must not be opaque to not hide underlying decorations.
"editor.findRangeHighlightBackground": "#ff730056", // No idea. Color the range limiting the search (Enable 'Find in Selection' in the find widget). The color must not be opaque to not hide underlying decorations.
Expand Down

0 comments on commit e3eb1d9

Please sign in to comment.