Skip to content
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

Added backgroundcolor for the current line and added the ability to disable the line. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
out
node_modules
.vscode-test/
.vsix
out
node_modules
.vscode-test/
.vsix
Binary file added .vs/slnx.sqlite
Binary file not shown.
56 changes: 28 additions & 28 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.1.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out/**/*.js" ],
"preLaunchTask": "npm: watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out/test/**/*.js" ],
"preLaunchTask": "npm: watch"
}
]
}
// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.1.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out/**/*.js" ],
"preLaunchTask": "npm: watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out/test/**/*.js" ],
"preLaunchTask": "npm: watch"
}
]
}
22 changes: 11 additions & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": true, // set this to true to hide the "out" folder with the compiled JS files
"**/node_modules": true,
"**/tsconfig.json": true,
"**/*.map": true
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
}
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": true, // set this to true to hide the "out" folder with the compiled JS files
"**/node_modules": true,
"**/tsconfig.json": true,
"**/*.map": true
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
}
}
38 changes: 19 additions & 19 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
16 changes: 8 additions & 8 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.vscode/**
.vscode-test/**
out/test/**
out/**/*.map
src/**
.gitignore
tsconfig.json
vsc-extension-quickstart.md
.vscode/**
.vscode-test/**
out/test/**
out/**/*.map
src/**
.gitignore
tsconfig.json
vsc-extension-quickstart.md
12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Change Log
All notable changes to the "highlight-line-vscode" extension will be documented in this file.

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [Unreleased]
# Change Log
All notable changes to the "highlight-line-vscode" extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
## [Unreleased]
- Initial release
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) Clifford Fajardo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) Clifford Fajardo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
96 changes: 48 additions & 48 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
[![](https://vsmarketplacebadge.apphb.com/version/cliffordfajardo.highlight-line-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=cliffordfajardo.highlight-line-vscode)
[![](https://vsmarketplacebadge.apphb.com/installs-short/cliffordfajardo.highlight-line-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=cliffordfajardo.highlight-line-vscode)
[![](https://vsmarketplacebadge.apphb.com/rating-short/cliffordfajardo.highlight-line-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=cliffordfajardo.highlight-line-vscode)
# Highlight Line VS Code

Enhanced highlighting of the currently active line in your text editor.


## Features

### Multi-Tab Line Highlighting

Line highlighting is provided & preserved across multiple tabs, so it's easier to find where you left off in a tab.

>![Highlight Line VScode preview](images/highlight-line-preview1.png)


## Customizable Settings

Through the configuration options, you can edit appearance of your hilighted line and see the changes take effect immediately in your editor.

>![Highlight Line VScode customization preview](images/highlight-line.gif)


<table>
<tr>
<th colspan="2">Highlight Line Settings</th>
</tr>

<tr align="left">
<th>Name</th>
<th>Description</th>
</tr>

<tr>
<td><code>highlightLine.borderColor</code></td>
<td>Specifies the border color used & is changable to any valid CSS color value. For example here are a list of valid values: `'red'`, `'#FFF'` `'#FFFFFFF'`, `'RGB(255,255,255)'`, `'RGB(255, 255, 255. 0.5)'`</td>
</tr>
<tr>
<td><code>highlightLine.borderWidth</code></td>
<td>Specifies the width of the border in pixels For example: `'2px'`</></td>
</tr>
<tr>
<td><code>highlightLine.borderStyle</code></td>
<td>Specifies the border style of the line. For example, here a a list of valid values: `solid`, `dashed`, `inset`, `double`, `groove`, `outset`, `ridge`</td>
</tr>
</table>

[![](https://vsmarketplacebadge.apphb.com/version/cliffordfajardo.highlight-line-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=cliffordfajardo.highlight-line-vscode)
[![](https://vsmarketplacebadge.apphb.com/installs-short/cliffordfajardo.highlight-line-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=cliffordfajardo.highlight-line-vscode)
[![](https://vsmarketplacebadge.apphb.com/rating-short/cliffordfajardo.highlight-line-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=cliffordfajardo.highlight-line-vscode)
# Highlight Line VS Code
Enhanced highlighting of the currently active line in your text editor.
## Features
### Multi-Tab Line Highlighting
Line highlighting is provided & preserved across multiple tabs, so it's easier to find where you left off in a tab.
>![Highlight Line VScode preview](images/highlight-line-preview1.png)
## Customizable Settings
Through the configuration options, you can edit appearance of your hilighted line and see the changes take effect immediately in your editor.
>![Highlight Line VScode customization preview](images/highlight-line.gif)
<table>
<tr>
<th colspan="2">Highlight Line Settings</th>
</tr>
<tr align="left">
<th>Name</th>
<th>Description</th>
</tr>
<tr>
<td><code>highlightLine.borderColor</code></td>
<td>Specifies the border color used & is changable to any valid CSS color value. For example here are a list of valid values: `'red'`, `'#FFF'` `'#FFFFFFF'`, `'RGB(255,255,255)'`, `'RGB(255, 255, 255. 0.5)'`</td>
</tr>
<tr>
<td><code>highlightLine.borderWidth</code></td>
<td>Specifies the width of the border in pixels For example: `'2px'`</></td>
</tr>
<tr>
<td><code>highlightLine.borderStyle</code></td>
<td>Specifies the border style of the line. For example, here a a list of valid values: `solid`, `dashed`, `inset`, `double`, `groove`, `outset`, `ridge`</td>
</tr>
</table>
Loading