diff --git a/README.md b/README.md index 0c27234..aad893a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 126f455..c710479 100644 --- a/package.json +++ b/package.json @@ -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%" + ] } } }, diff --git a/package.nls.json b/package.nls.json index 8a9f1a2..55b53ee 100644 --- a/package.nls.json +++ b/package.nls.json @@ -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", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 05bbc6c..906b9fe 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -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" diff --git a/vscode-numbered-bookmarks-core b/vscode-numbered-bookmarks-core index 87b99d9..6f9895a 160000 --- a/vscode-numbered-bookmarks-core +++ b/vscode-numbered-bookmarks-core @@ -1 +1 @@ -Subproject commit 87b99d9ef6959693ca3c37c19ed87cba55b9e1f2 +Subproject commit 6f9895a58c835fb5c0c43ee97975f7fb2b6cc4ce