-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b6e76d3
Showing
12 changed files
with
222 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Set default behavior to automatically normalize line endings. | ||
* text=auto |
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,27 @@ | ||
name: Deploy VS Code Extension | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # Ou qualquer que seja o branch que você deseja para o deploy | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "14" | ||
|
||
- name: Install vsce | ||
run: npm install -g vsce | ||
|
||
- name: Package Extension | ||
run: vsce package | ||
|
||
- name: Publish Extension | ||
run: vsce publish -p ${{ secrets.VSCE_PAT }} |
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,2 @@ | ||
node_modules | ||
*.vsix |
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,17 @@ | ||
// A launch configuration that launches the extension inside a new window | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}" | ||
] | ||
} | ||
] | ||
} |
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,4 @@ | ||
.vscode/** | ||
.vscode-test/** | ||
.gitignore | ||
vsc-extension-quickstart.md |
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,9 @@ | ||
# Change Log | ||
|
||
All notable changes to the "typper-theme" extension will be documented in this file. | ||
|
||
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. | ||
|
||
## [Unreleased] | ||
|
||
- Initial release |
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,19 @@ | ||
# Typper Theme | ||
|
||
## This theme use the Typper Branding | ||
|
||
Use this link to install: https://marketplace.visualstudio.com/items?itemName=Typper.typper-theme | ||
|
||
Use with this configuration to a best experience: | ||
|
||
```json | ||
{ | ||
"workbench.iconTheme": "minimal-icons", | ||
"workbench.colorTheme": "Typper", | ||
"window.commandCenter": false, | ||
"workbench.layoutControl.enabled": false, | ||
"workbench.statusBar.visible": false | ||
} | ||
``` | ||
|
||
**Enjoy!** |
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,23 @@ | ||
{ | ||
"name": "typper-theme", | ||
"displayName": "typper-theme", | ||
"description": "", | ||
"version": "0.0.3", | ||
"publisher": "Typper", | ||
"icon": "icon.png", | ||
"engines": { | ||
"vscode": "^1.86.0" | ||
}, | ||
"categories": [ | ||
"Themes" | ||
], | ||
"contributes": { | ||
"themes": [ | ||
{ | ||
"label": "Typper", | ||
"uiTheme": "vs-dark", | ||
"path": "./themes/Typper-color-theme.json" | ||
} | ||
] | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,86 @@ | ||
{ | ||
"name": "Typper Color Theme", | ||
"colors": { | ||
"editor.background": "#10142C", | ||
"editor.foreground": "#FBFFF6", | ||
"editor.lineHighlightBackground": "#7BD90533", | ||
"activityBar.background": "#10142C", | ||
"activityBar.foreground": "#FBFFF6", | ||
"sideBar.background": "#10142C", | ||
"sideBar.foreground": "#FBFFF6", | ||
"statusBar.background": "#0047FD", | ||
"statusBar.foreground": "#FBFFF6", | ||
"titleBar.activeBackground": "#10142C", | ||
"titleBar.activeForeground": "#FBFFF6", | ||
"button.background": "#0047FD", | ||
"button.foreground": "#FBFFF6", | ||
"button.hoverBackground": "#FFABC7", | ||
"editorCursor.foreground": "#0047FD", | ||
"editor.selectionBackground": "#0047FD60", | ||
"editorLineNumber.foreground": "#FBFFF699", | ||
"editorLineNumber.activeForeground": "#FBFFF6", | ||
"editorWhitespace.foreground": "#FBFFF61A" | ||
}, | ||
"tokenColors": [ | ||
{ | ||
"scope": ["comment", "punctuation.definition.comment", "string.comment"], | ||
"settings": { | ||
"foreground": "#7BD90599" | ||
} | ||
}, | ||
{ | ||
"scope": "constant", | ||
"settings": { | ||
"foreground": "#FFABC7" | ||
} | ||
}, | ||
{ | ||
"scope": "entity", | ||
"settings": { | ||
"foreground": "#FFABC7" | ||
} | ||
}, | ||
{ | ||
"scope": "variable", | ||
"settings": { | ||
"foreground": "#FBFFF6" | ||
} | ||
}, | ||
{ | ||
"scope": "keyword", | ||
"settings": { | ||
"foreground": "#0047FD" | ||
} | ||
}, | ||
{ | ||
"scope": "storage", | ||
"settings": { | ||
"foreground": "#0047FD" | ||
} | ||
}, | ||
{ | ||
"scope": "string", | ||
"settings": { | ||
"foreground": "#7BD905" | ||
} | ||
}, | ||
{ | ||
"scope": "invalid", | ||
"settings": { | ||
"foreground": "#FF0000" | ||
} | ||
}, | ||
{ | ||
"scope": "entity.name.class", | ||
"settings": { | ||
"foreground": "#FFABC7" | ||
} | ||
}, | ||
{ | ||
"scope": "meta.class", | ||
"settings": { | ||
"foreground": "#FBFFF6" | ||
} | ||
} | ||
] | ||
} |
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,28 @@ | ||
# Welcome to your VS Code Extension | ||
|
||
## What's in the folder | ||
|
||
* This folder contains all of the files necessary for your color theme extension. | ||
* `package.json` - this is the manifest file that defines the location of the theme file and specifies the base theme of the theme. | ||
* `themes/Typper-color-theme.json` - the color theme definition file. | ||
|
||
## Get up and running straight away | ||
|
||
* Press `F5` to open a new window with your extension loaded. | ||
* Open `File > Preferences > Color Themes` and pick your color theme. | ||
* Open a file that has a language associated. The languages' configured grammar will tokenize the text and assign 'scopes' to the tokens. To examine these scopes, invoke the `Developer: Inspect Editor Tokens and Scopes` command from the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac). | ||
|
||
## Make changes | ||
|
||
* Changes to the theme file are automatically applied to the Extension Development Host window. | ||
|
||
## Adopt your theme to Visual Studio Code | ||
|
||
* The token colorization is done based on standard TextMate themes. Colors are matched against one or more scopes. | ||
|
||
To learn more about scopes and how they're used, check out the [color theme](https://code.visualstudio.com/api/extension-guides/color-theme) documentation. | ||
|
||
## Install your extension | ||
|
||
* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code. | ||
* To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension. |