Skip to content

Commit

Permalink
First release
Browse files Browse the repository at this point in the history
  • Loading branch information
adevade committed Jan 4, 2022
1 parent 812845f commit 3053768
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 3,495 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules/
.vscode-test/
*.vsix
14 changes: 1 addition & 13 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
// 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": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/test/suite/index"
]
}
]
}
7 changes: 0 additions & 7 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
.vscode/**
.vscode-test/**
test/**
.gitignore
.yarnrc
vsc-extension-quickstart.md
**/jsconfig.json
**/*.map
**/.eslintrc.json
9 changes: 0 additions & 9 deletions CHANGELOG.md

This file was deleted.

43 changes: 11 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,26 @@

Make code small, make code big. Easy as that.

## Features

Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.

For example if there is an image subfolder under your extension project workspace:

\!\[feature X\]\(images/feature-x.png\)

> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
## Requirements
![Zoom the code](img/preview.gif)

If you have any requirements or dependencies, add a section describing those and how to install and configure them.
## Features

## Extension Settings
This extension gives to two commands to run from the command palette, or to bind to any keyboard shortcuts you like.

Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
### Code Zoom: Default

For example:
> `code-zoom.default`
This extension contributes the following settings:
This command resets your settings to the default font size and line height.

* `myExtension.enable`: enable/disable this extension
* `myExtension.thing`: set to `blah` to do something
### Code Zoom: Small

## Known Issues
> `code-zoom.small`
Calling out known issues can help limit users opening duplicate issues against your extension.
This command makes your font size and line height super small, so you can get a good overview.

## Release Notes

Users appreciate release notes as you update your extension.

### 1.0.0

Initial release of ...

### 1.0.1

Fixed issue #.

### 1.1.0
### 0.1.0

Added features X, Y, and Z.
Initial release.
5 changes: 3 additions & 2 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ const vscode = require('vscode');
function activate(context) {
let config = vscode.workspace.getConfiguration('editor');

let makeDefault = vscode.commands.registerCommand('code-zoom.default', function () {
let makeDefault = vscode.commands.registerCommand('code-zoom.default', () => {
config.update('fontSize');
config.update('lineHeight');
});

let makeSmall = vscode.commands.registerCommand('code-zoom.small', function () {
let makeSmall = vscode.commands.registerCommand('code-zoom.small', () => {
config.update('fontSize', 12);
config.update('lineHeight', 16);
});
Expand All @@ -18,6 +18,7 @@ function activate(context) {

function deactivate() {
let config = vscode.workspace.getConfiguration('editor');

config.update('fontSize');
config.update('lineHeight');
}
Expand Down
Binary file added img/preview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 0 additions & 13 deletions jsconfig.json

This file was deleted.

Loading

0 comments on commit 3053768

Please sign in to comment.