Skip to content

Commit

Permalink
Merge pull request #132 from lyricwulf/lyric/variables
Browse files Browse the repository at this point in the history
docs: move variables to readme
  • Loading branch information
xhayper authored Oct 30, 2022
2 parents d63773a + c85229b commit 54a5187
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 14 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,34 @@ Use the **[Extension Marketplace](https://code.visualstudio.com/docs/editor/exte

![a4](https://i.imgur.com/qMzox38.gif)

## ⚙️ Configuration
The following variables will be replaced with the respective value in custom strings.
| Variable | Value |
| ------------------------ | ----------- |
| `{app_name}` | current editor name |
| `{app_id}` | editor name that's suitable for using inside url |
| `{file_name}` | name of the file |
| `{file_extenstion}` | extension of the file |
| `{file_size}` | size of the file |
| `{folder_and_file}` | folder and file name |
| `{directory_name}` | directory name |
| `{full_directory_name}` | full directory name |
| `{workspace}` | name of the workspace |
| `{workspace_folder}` | name of the workspace folder |
| `{workspace_and_folder}` | name of the workspace and folder |
| `{LANG}` \| `{Lang}` \| `{LANG}` | format of the lang string |
| `{problems}` | problems text defined in settings |
| `{problems_count}` | number of problems |
| `{line_count}` | number of lines |
| `{current_line}` | current line |
| `{current_column}` | current column |
| `{git_url}` | link to current git repository |
| `{git_owner}` | current git repository owner |
| `{git_provider}` | domain (including .com) to the provider of current git repository |
| `{git_repo}` | repository name for current repository |
| `{git_branch}` | current git branch |
| `{empty}` | an empty space |

## 👨‍💻 Contributing

To contribute to this repository, feel free to create a new fork of the repository and submit a pull request.
Expand Down
Loading

0 comments on commit 54a5187

Please sign in to comment.