This repository was archived by the owner on Nov 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ This plugin will provide completions in template files and template strings.
99- The langauge service is a separate service from TypeScript and runs a duplicate
1010 version of the TypeScript language service.
1111
12- - Only provide completions and diagnostic errors.
13-
1412See [ #7482 ] ( https://github.com/angular/angular/issues/7482 ) for a more details
1513status of the current progress.
1614
Original file line number Diff line number Diff line change 22 "name" : " ng-template" ,
33 "displayName" : " Angular Langauge Service" ,
44 "description" : " Editor services for Angular templates" ,
5- "version" : " 0.0.8 " ,
5+ "version" : " 0.0.9 " ,
66 "publisher" : " Google" ,
77 "engines" : {
88 "vscode" : " ^1.4.0"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export function activate(context: ExtensionContext) {
1515 // Otherwise the run options are used
1616 let serverOptions : ServerOptions = {
1717 run : { module : serverModule , transport : TransportKind . ipc } ,
18- debug : { module : serverModule , transport : TransportKind . ipc , options : debugOptions }
18+ debug : { module : serverModule , transport : TransportKind . ipc /* , options: debugOptions */ }
1919 }
2020
2121 // Options to control the language client
Original file line number Diff line number Diff line change 11{
22 "name" : " ng-language-service" ,
3- "description" : " Angular loose temlate language service." ,
4- "version" : " 0.0.1 " ,
3+ "description" : " Angular temlate language service." ,
4+ "version" : " 0.0.9 " ,
55 "author" : " Google" ,
66 "license" : " MIT" ,
77 "engines" : {
Original file line number Diff line number Diff line change @@ -108,7 +108,11 @@ function uriToFileName(uri: string): string {
108108 switch ( parsedUrl . protocol ) {
109109 case 'file:' :
110110 case 'private:' :
111- return unescape ( parsedUrl . path ) ;
111+ let result = unescape ( parsedUrl . path ) ;
112+ if ( result . match ( / ^ \/ \w : / ) ) {
113+ result = result . substr ( 1 ) ;
114+ }
115+ return result ;
112116 }
113117}
114118
You can’t perform that action at this time.
0 commit comments