Skip to content

Commit

Permalink
Merge branch 'features/reveal-location'
Browse files Browse the repository at this point in the history
  • Loading branch information
alefragnani committed Nov 30, 2023
2 parents 35b440c + c1b1304 commit 5145161
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,15 @@ Value | Explanation
"numberedBookmarks.gutterIconNumberColor"
```

* Choose the location where the bookmarked line will be revealed _(`center` by default)_

* `top`: Reveals the bookmarked line at the top of the editor
* `center`: Reveals the bookmarked line in the center of the editor

```json
"numberedBookmarks.revealPosition": "center"
```

## Available Colors

* Choose the background color to use on a bookmarked line
Expand Down
13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,19 @@
"type": "string",
"default": "#000",
"description": "%numberedBookmarks.configuration.gutterIconNumberColor.description%"
},
"numberedBookmarks.revealLocation": {
"type": "string",
"default": "center",
"description": "%numberedBookmarks.configuration.revealLocation.description%",
"enum": [
"top",
"center"
],
"enumDescriptions": [
"%numberedBookmarks.configuration.revealLocation.enumDescriptions.top%",
"%numberedBookmarks.configuration.revealLocation.enumDescriptions.center%"
]
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"numberedBookmarks.configuration.navigateThroughAllFiles.description": "Allow navigation look for bookmarks in all files in the project, instead of only the current",
"numberedBookmarks.configuration.gutterIconFillColor.description": "Specify the color to use on gutter icon (fill color)",
"numberedBookmarks.configuration.gutterIconNumberColor.description": "Specify the color to use on gutter icon (number color)",
"numberedBookmarks.configuration.revealLocation.description": "Specifies the location where the bookmarked line will be revealed",
"numberedBookmarks.configuration.revealLocation.enumDescriptions.top": "Reveals the bookmarked line at the top of the editor",
"numberedBookmarks.configuration.revealLocation.enumDescriptions.center": "Reveals the bookmarked line in the center of the editor",
"numberedBookmarks.colors.lineBackground.description": "Background color for the bookmarked line",
"numberedBookmarks.colors.lineBorder.description": "Background color for the border around the bookmarked line",
"numberedBookmarks.colors.overviewRuler.description": "Overview ruler marker color for bookmarks",
Expand Down
3 changes: 3 additions & 0 deletions package.nls.pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"numberedBookmarks.configuration.navigateThroughAllFiles.description": "Permite que a navegação apresente Bookmarks em todos os arquivos do projeto, ao invés de apenas no arquivo corrente",
"numberedBookmarks.configuration.gutterIconFillColor.description": "Cor de fundo do ícone de Bookmark",
"numberedBookmarks.configuration.gutterIconNumberColor.description": "Cor do número no ícone de Bookmark",
"numberedBookmarks.configuration.revealLocation.description": "Especifica o local onde a linha com bookmark será exibida",
"numberedBookmarks.configuration.revealLocation.enumDescriptions.top": "Exibe a linha com bookmark no topo do editor",
"numberedBookmarks.configuration.revealLocation.enumDescriptions.center": "Exibe a linha com bookmark no centro do editor",
"numberedBookmarks.colors.lineBackground.description": "Cor de fundo para linha com Bookmark",
"numberedBookmarks.colors.lineBorder.description": "Cor de fundo da borda ao redor da linha com Bookmark",
"numberedBookmarks.colors.overviewRuler.description": "Cor do marcador de régua com Bookmarks"
Expand Down
2 changes: 1 addition & 1 deletion vscode-numbered-bookmarks-core

1 comment on commit 5145161

@alefragnani
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes #141

Please sign in to comment.