File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 20
20
- Go to macros definition
21
21
- Go to definition for methods and properties for self object like ` ..Name ` , ` ..SomeMethod() `
22
22
- Added completion for class parameters
23
+ - Export without storage
23
24
24
25
## [ 0.7.7]
25
26
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { config } from '../extension';
3
3
import { AtelierAPI } from '../api' ;
4
4
import { currentFile } from '../utils' ;
5
5
import { DocumentContentProvider } from '../providers/DocumentContentProvider' ;
6
+ import { ClassDefinition } from '../utils/classDefinition' ;
6
7
7
8
export async function subclass ( ) : Promise < void > {
8
9
const file = currentFile ( ) ;
@@ -18,7 +19,7 @@ export async function subclass(): Promise<void> {
18
19
}
19
20
20
21
const open = item => {
21
- let uri = DocumentContentProvider . getUri ( item + '.cls' ) ;
22
+ let uri = DocumentContentProvider . getUri ( ClassDefinition . normalizeClassName ( item , true ) ) ;
22
23
vscode . window . showTextDocument ( uri ) ;
23
24
} ;
24
25
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export async function superclass(): Promise<void> {
14
14
}
15
15
16
16
const open = item => {
17
- let uri = DocumentContentProvider . getUri ( item + '.cls' ) ;
17
+ let uri = DocumentContentProvider . getUri ( ClassDefinition . normalizeClassName ( item , true ) ) ;
18
18
vscode . window . showTextDocument ( uri ) ;
19
19
} ;
20
20
Original file line number Diff line number Diff line change 2
2
"name" : " vscode-objectscript" ,
3
3
"displayName" : " InterSystems ObjectScript" ,
4
4
"description" : " InterSystems ObjectScript language support for Visual Studio Code" ,
5
- "version" : " 0.7.9 " ,
5
+ "version" : " 0.7.10-snapshot " ,
6
6
"icon" : " images/logo.png" ,
7
7
"categories" : [
8
8
" Programming Languages" ,
Original file line number Diff line number Diff line change @@ -29,12 +29,10 @@ export class DocumentContentProvider implements vscode.TextDocumentContentProvid
29
29
let uri = vscode . Uri . file ( name ) . with ( {
30
30
scheme : OBJECTSCRIPT_FILE_SCHEMA
31
31
} ) ;
32
- if ( vscode . workspace . workspaceFolders && vscode . workspace . workspaceFolders . length > 1 ) {
33
- if ( workspaceFolder && workspaceFolder !== '' ) {
34
- uri = uri . with ( {
35
- authority : workspaceFolder
36
- } ) ;
37
- }
32
+ if ( workspaceFolder && workspaceFolder !== '' ) {
33
+ uri = uri . with ( {
34
+ authority : workspaceFolder
35
+ } ) ;
38
36
}
39
37
if ( namespace && namespace !== '' ) {
40
38
uri = uri . with ( {
You can’t perform that action at this time.
0 commit comments