Skip to content
Numbered Bookmarks Extension for Visual Studio Code
Branch: master
Clone or download
Latest commit dccee5a Jun 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Jun 5, 2019
.vscode
images unlink fix, new font family Dec 17, 2018
src TSLint Feb 11, 2019
vscode-numbered-bookmarks-core @ e0f7d05 Update core submodule Mar 26, 2019
vscode-whats-new @ 951ac11 Update whats-new submodule Mar 15, 2019
.gitignore Update gitignore to ignore webpack dist folder Mar 15, 2019
.gitmodules Extract classes to core submodule Feb 10, 2019
.vscodeignore Update gitignore to ignore webpack dist folder Mar 15, 2019
CHANGELOG.md docs updated for 6.2.1 May 27, 2019
LICENSE.md Initial commit Feb 7, 2016
README.md Closes #52 Mar 26, 2019
package-lock.json package-lock.json integrity updated to sha512 May 29, 2019
package.json docs updated for 6.2.1 May 27, 2019
tsconfig.json WhatsNew added using submodule Nov 25, 2018
tslint.json Re-enable TSLint Feb 11, 2019
webpack.config.js Add webpack template Mar 15, 2019

README.md


Numbered Bookmarks Logo

What's new in Numbered Bookmarks 6

  • Adds Multi-root support
  • Adds background color for bookmarked lines
  • Adds gutter icon color for bookmarked lines (icon fill and number)

Support

Numbered Bookmarks is an extension created for Visual Studio Code. If you find it useful, please consider supporting it.

Numbered Bookmarks

It helps you to navigate in your code, moving between important positions easily and quickly. No more need to search for code. All of this in in Delphi style.

Features

Available commands

  • Numbered Bookmarks: Toggle Bookmark '#number' Mark/unmark the current line with a numbered bookmark
  • Numbered Bookmarks: Jump to Bookmark '#number' Move the cursor to the numbered bookmark
  • Numbered Bookmarks: List List all bookmarks from the current file
  • Numbered Bookmarks: List from All Files List all bookmarks from the all files
  • Numbered Bookmarks: Clear remove all bookmarks from the current file
  • Numbered Bookmarks: Clear from All Files remove all bookmarks from the all files

Both Toggle Bookmark and Jump to Bookmark commands are numbered from 0 to 9

The Numbered Bookmark 0 has been reactivated in PR #16, but because of this issue it has no keyboard shortcut defined. If sometime in the future these OS related limitation disappears, the shortcuts will be restored.

MacOS users should be aware that some commands shortcuts should conflict with native shortcuts, and uses Cmd instead of Ctrl (Cmd + Shift + 3 and Cmd + Shift + 4)

Manage your bookmarks

Toggle Bookmark '#number'

You can easily Mark/Unmark bookmarks on any line.

Toggle

The default shortcuts are numbered from 0 to 9: Toggle Bookmark # (Ctrl + Shift + #)

Navigation

Jump to Bookmark '#number'

The default shortcuts are numbered from 0 to 9: Jump to Bookmark # (Ctrl + #)

List

List all bookmarks from the current file and easily navigate to any one. It shows you the line contents and temporarily scroll to that line.

List

List from All Files

List all bookmarks from all files and easily navigate to any one. It shows you the line contents and temporarily scroll to that line.

List

  • Bookmarks from the active file only shows the line number and its contents
  • Bookmarks from other files in the project also shows the relative path and filename
  • Bookmarks from files outside the project are denoted with Folder

Available Settings

  • Bookmarks are always saved between sessions, and you can decide if it should be saved in the Project, so you can add it to your Git/SVN repo and have it in all your machines (false by default). Set to true and it will save the bookmarks in .vscode\numbered-bookmarks.json file.
    "numberedBookmarks.saveBookmarksInProject": true

the saveBookmarksBetweenSessions setting was replaced by this in version 0.8.0

  • Per User Requests it is now possible to choose how Bookmarks Navigate Through All Files:
    "numberedBookmarks.navigateThroughAllFiles"

Possible Values:

Value Explanation
false default - same behavior as today
replace you can't have the same numbered bookmark in different files
allowDuplicates you can have the same numbered bookmark in different files, and if you jump repeatedly to the same number, it will look on other files
  • Choose the background color to use on a bookmarked line
    "numberedBookmarks.backgroundLineColor"
  • Choose the gutter icon fill color
    "numberedBookmarks.gutterIconFillColor"
  • Choose the gutter icon number color
    "numberedBookmarks.gutterIconNumberColor"

For any of the Color settings, you can use color names blue, RGB rgb(0, 255, 37), RGBA rgba(0, 255, 37, 0.2) or HEX #00ff25 format.

Project and Session Based

The bookmarks are saved per session for the project that you are using. You don't have to worry about closing files in Working Files. When you reopen the file, the bookmarks are restored.

It also works even if you only preview a file (simple click in TreeView). You can put bookmarks in any file and when you preview it again, the bookmarks will be there.

License

MIT © Alessandro Fragnani

You can’t perform that action at this time.