Giter VIP home page Giter VIP logo

vscode-bookmarks's Introduction

Functionality

Mark lines in the editor and easily jump to them.

Installation

Press F1 in VSCode, type ext install and then look for Bookmarks.

Usage

Available commands

  • Bookmarks: Toggle Mark/unmark lines with bookmarks
  • Bookmarks: Jump to Next Move the cursor forward, to the bookmark below
  • Bookmarks: Jump to Previous Move the cursor backward, to the bookmark above
  • Bookmarks: List List all bookmarks from the current file
  • Bookmarks: Clear remove all bookmarks from the current file

Commands

Bookmark: Toggle

You can easily Mark/Unmark bookmarks on any line. Works even for wrapped lines.

Toggle

new in version 0.4.0

Bookmarks: 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

Available settings

new in version 0.7.0

  • The bookmarks will be glued to the line of code (context) instead of the line of the file
    "bookmarks.useStickyBookmarks": true

Sticky

new in version 0.6.0

  • Allow navigation through all files that contains bookmarks
    "bookmarks.navigateThroughAllFiles": true
  • Allow bookmarks to be saved and restored, even if you close or change the Project
    "bookmarks.saveBookmarksBetweenSessions": true
  • Path to another image to be shown as Bookmark (16x16 px)
    "bookmarks.gutterIconPath": "c:\\temp\\othericon.png"

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.

Changelog

Version 0.7.0

  • New Setting: Sticky Bookmarks (kudos to @Terminux)

Version 0.6.0

  • New: Abitity to navigate to bookmarks in all files
  • New Setting: Navigate through all files
  • Fix: Error when there is no active file (issue #18)

Version 0.5.0

  • New: Bookmarks are also rendered in the overview ruler

Version 0.4.0

  • New Command: List all bookmarks from the current file

Version 0.3.0

  • License updated

Version 0.2.0

  • New Setting: Save bookmarks between sessions
  • New Setting: Change the bookmark icon

Version 0.1.1

  • Initial release

Participate

If you have any idea, feel free to create issues and pull requests

License

MIT © Alessandro Fragnani


Paypal Donations if you enjoy using this extension :-)

vscode-bookmarks's People

Contributors

alefragnani avatar gcastl avatar dotnetcarpenter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.