Skip to content

Commit

Permalink
Add icon, update package name & README
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonatan committed Mar 23, 2017
1 parent 0d5fe75 commit 3c7d33d
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 16 deletions.
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
# vscode-angular-editor
# vscode-angular-support

[![Build Status](https://travis-ci.org/VismaLietuva/vscode-angular-editor.svg?branch=master)](https://travis-ci.org/VismaLietuva/vscode-angular-editor)
[![Build Status](https://travis-ci.org/VismaLietuva/vscode-angular-support.svg?branch=master)](https://travis-ci.org/VismaLietuva/vscode-angular-support)

WIP
Language support for angular definitions.

## Prerequisites

- Angular with **Typescript** *(JS version possibly in the future)*
- *At the moment* [official style guide](https://angular.io/docs/ts/latest/guide/style-guide.html#!#naming) file naming (component `.ts` and `.html` names should match).

## Features

- Go to / peek definition from:
- interpolation `{{ myVar }}`
- one/two way binded input `[(...)]="myVar"`
- `templateUrl` or `styleUrls` in `@Component` decorator
- output `(...)="myMethod"`
- **Not implemented!** component `<my-component></my-component>`
- **Not implemented!** custom input `[myInput]=".."` or output `(myOutput)=".."` attributes
Go to / peek definition from:
- interpolation `{{ myVar }}`
- input `[(...)]="myVar"`
- output `(...)="myMethod"`
- `templateUrl` or `styleUrls` in `@Component` decorator

![working](images/example.gif)

## Roadmap

![working](images/example.gif)
Go to / peek definition from:
- component `<my-component></my-component>`
- component input `[myInput]=".."` or output `(myOutput)=".."`
Binary file modified images/example.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions images/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "vscode-angular-editor",
"displayName": "Angular Editor",
"description": "Editing Evolved with Angular",
"name": "vscode-angular-support",
"displayName": "Angular Support",
"description": "Go to / peek angular specific defintions",
"version": "0.0.1",
"publisher": "dzonatan",
"publisher": "vismalietuva",
"icon": "images/icon.svg",
"engines": {
"vscode": "^1.10.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { AngularTsDefinitionProvider } from './providers/angular-ts-definition-p
import { AngularHtmlDefinitionProvider } from './providers/angular-html-definition-provider';

export function activate(context: ExtensionContext) {
console.log('Congratulations, extension "vscode-angular-editor" is now active!');
console.log('Congratulations, extension "vscode-angular-support" is now active!');

context.subscriptions.push(languages.registerDefinitionProvider(
{ language: 'typescript', scheme: 'file' },
Expand Down

0 comments on commit 3c7d33d

Please sign in to comment.