-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from alefragnani/features/support-getting-sta…
…rted Add Walkthrough / Getting Started support
- Loading branch information
Showing
13 changed files
with
212 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Customizing Appearance | ||
|
||
You can customize not only how the icon is show in the Gutter, but also add a background color to the bookmarked line and the overview ruller. | ||
|
||
Something like this in your settings: | ||
|
||
```json | ||
"numberedBookmarks.gutterIconFillColor": "#00FF0077", | ||
// "numberedBookmarks.gutterIconNumberColor": "157EFB", | ||
"workbench.colorCustomizations": { | ||
... | ||
"numberedBookmarks.lineBackground": "#0077ff2a", | ||
"numberedBookmarks.lineBorder": "#FF0000", | ||
"numberedBookmarks.overviewRuler": "#157EFB88" | ||
} | ||
``` | ||
|
||
Could end up with a numbered bookmark like this: | ||
|
||
![Customized Numbered Bookmark](customizedNumberedBookmark.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Personalizando a Aparência | ||
|
||
Você pode personalizar não apenas como o ícone é apresentado na Medianiz, mas também adicionar cor de fundo a linha com bookmark e a régua de visão geral. | ||
|
||
Algo como isso nas suas configuráções: | ||
|
||
```json | ||
"numberedBookmarks.gutterIconFillColor": "#00FF0077", | ||
// "numberedBookmarks.gutterIconNumberColor": "157EFB", | ||
"workbench.colorCustomizations": { | ||
... | ||
"numberedBookmarks.lineBackground": "#0077ff2a", | ||
"numberedBookmarks.lineBorder": "#FF0000", | ||
"numberedBookmarks.overviewRuler": "#157EFB88" | ||
} | ||
``` | ||
|
||
Pode deixar seus bookmarks assim: | ||
|
||
![Numbered Bookmark Personalizado](customizedNumberedBookmark.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Inpired in Delphi, but open to others | ||
|
||
The extension was inspired in Delphi, because I was a Delphi developer for a long time, and love it's bookmarks. But it supports different editors as well. | ||
|
||
To change a bit how the extension works (toggling and navigation), simply play with the `numberedBookmarks.navigateThroughAllFiles` setting: | ||
|
||
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. | ||
|
||
### IntelliJ / UltraEdit developers | ||
|
||
If you are an **IntelliJ** or **UltraEdit** user, you will notice the numbered bookmarks works a bit different from the default behavior. | ||
|
||
To make **Numbered Bookmarks** works the same way as these other tools, simply add `"numberedBookmarks.navigateThroughAllFiles": replace"` to your setting and you are good to go. | ||
|
||
<table align="center" width="85%" border="0"> | ||
<tr> | ||
<td align="center"> | ||
<a title="Open Settings" href="command:workbench.action.openSettings?%5B%22numberedBookmarks.navigateThroughAllFiles%22%5D">Open Settings</a> | ||
</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Inspirado no Delphi, mas aberto a outros | ||
|
||
A extensão foi inspirada no Delphi, pois eu fui um desenvolvedor Delphi por muito tempo, e adoro seus bookmarks. Mas ele suporta diferentes editores também. | ||
|
||
Para mudar um pouco como a extensão funciona (alternar e navegar), basta brincar com a configuração `numberedBookmarks.navigateThroughAllFiles`: | ||
|
||
Valor | Explicação | ||
--------- | --------- | ||
`false` | _padrão_ - mesmo comportamento de hoje | ||
`replace` | você não pode ter o mesmo numbered bookmark em arquivos distintos | ||
`allowDuplicates` | você pode ter o mesmo numbered bookmark em arquivos distintos, e se você acionar repetidamente ao mesmo número, ele irá olhar para os outros arquivos. | ||
|
||
### Desenvolvedores IntelliJ / UltraEdit | ||
|
||
Se você é um usuário do **IntelliJ** ou **UltraEdit**, você vai notar que o numbered bookmarks funciona um pouco diferente do seu comportamento padrão. | ||
|
||
Para fazer **Numbered Bookmarks** funcionar do mesmo jeito dessas ferramentas, simplesmente adicione `"numberedBookmarks.navigateThroughAllFiles": replace"` nas suas configurações e aproveite. | ||
|
||
<table align="center" width="85%" border="0"> | ||
<tr> | ||
<td align="center"> | ||
<a title="Abrir Configurações" href="command:workbench.action.openSettings?%5B%22numberedBookmarks.navigateThroughAllFiles%22%5D">Abrir Configurações</a> | ||
</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Navigate to Numbered Bookmarks | ||
|
||
Bookmarks represent positions in your code, so you can easily and quickly go back to them whenever necessary. | ||
|
||
The extension provides commands to quickly navigate every bookmark, from `Numbered Bookmarks: Jump to Bookmark 0` to `Numbered Bookmarks: Jump to Bookmark 9`, with a keyboard shortcut for each one of it (<kbd>Ctrl</kbd> + <kbd>#number</kbd>) | ||
|
||
But it is not limited to this. It also provides commands to see all Numbered Bookmarks within a file, or the entire workspace and easily go to it. Use the `Numbered Bookmarks: List` and `Numbered Bookmarks: List from All Files` command instead, and the extension will display a preview of the bookmarked line and it position. | ||
|
||
![List](../images/numbered-bookmarks-list-from-all-files.gif) | ||
|
||
> Tip: If you simply navigate on the list, the editor will temporarily scroll to its position, giving you a better understanding if that bookmark is what you were looking for. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Navegar para Numbered Bookmarks | ||
|
||
Bookmarks representam posições no seu código, então você pode voltar a elas de forma rápida e fácil sempre que necessário. | ||
|
||
Essa extensão disponibiliza comandos para nevegar facilmente para cada numbered bookmark, de `Numbered Bookmarks: Pular para Bookmark 0` até `Numbered Bookmarks: Pular para Bookmark 9`, com uma tecla de atalho para cada um (<kbd>Ctrl</kbd> + <kbd>#number</kbd>) | ||
|
||
Mas não está limitado a isso. Também disponibiliza comandos para visualizar todos os Numbered Bookmarks em um arquivo, ou em toda a área de trabalho. Use os comandos `Numbered Bookmarks: Listar` and `Numbered Bookmarks: Listar de Todos os Arquivos`, e a extensão apresentará uma prévia da linha com bookmark e sua posição. | ||
|
||
![Lista](../images/numbered-bookmarks-list-from-all-files.gif) | ||
|
||
> Dica: Se você simplesmente navegar pela lista, o editor irá rolar temporariamente para a posição do bookmark, dando-lhe um entendimento melhor se o bookmark é aquele que você está procurando. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Toggle Numbered Bookmarks | ||
|
||
You can easily Mark/Unmark Numbered Bookmarks on any position. | ||
|
||
![Toggle](../images/numbered-bookmarks-toggle.png) | ||
|
||
> Tip: Use Keyboard Shortcut <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>#number</kbd> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Anternar Numbered Bookmarks | ||
|
||
Você pode adicionar/remover Numbered Bookmarks facilmente em qualquer posição. | ||
|
||
![Alternar](../images/numbered-bookmarks-toggle.png) | ||
|
||
> Dica: Use o Atalho de Teclado <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>#number</kbd> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Working with Remotes | ||
|
||
The extension fully supports [Remote Development](https://code.visualstudio.com/docs/remote/remote-overview) scenarios. | ||
|
||
It means that when you connect to a _remote_ location, like a Docker Container, SSH or WSL, the extension will be available, ready to be used. | ||
|
||
> You don't need to install the extension on the remote. | ||
Better yet, if you use `numberedBookmarks.saveBookmarksInProject` setting defined as `true`, the bookmarks saved locally _will be available_ remotely, and you will be able to navigate and update the bookmarks. Just like it was a resource from folder you opened remotely. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Trabalhando com Remotos | ||
|
||
A extensão suporta completamente cenários de [Desenvolvimento Remoto](https://code.visualstudio.com/docs/remote/remote-overview). | ||
|
||
Isso significa que quando você conecta a um local _remoto_, como Container Docker, SSH ou WSL, a extensão estará disponível, pronta para ser usada. | ||
|
||
> Você não precisa instalar a extensão no ambiente remoto. | ||
Melhor ainda, se você usar a configuração `numberedBookmarks.saveBookmarksInProject` definida como `true`, os bookmarks salvos localmente _estarão disponíveis_ remotamente, e você conseguirá navegar e atualizar os bookmarks. Assim como se fosse um recurso de uma pasta que você abriu remotamente. | ||
|