This repository was archived by the owner on Jun 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 2.4.2
4+ * Dummy module did always precede real ones leading to bad completion behavior
5+
36## 2.4.1
47* Extension did not work correctly
58* Can now be disabled by ` "sde.enable": false `
Original file line number Diff line number Diff line change 88 "url" : " https://github.com/vknabel"
99 },
1010 "license" : " Apache-2.0" ,
11- "version" : " 2.4.1 " ,
11+ "version" : " 2.4.2 " ,
1212 "publisher" : " vknabel" ,
1313 "icon" : " icons/icon.png" ,
1414 "galleryBanner" : {
Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ function gatherAllSwiftFilesInPath(root: string): string[] {
9393
9494export function getAllSourcePaths ( srcPath : string ) : string [ ] {
9595 const sp = path . dirname ( srcPath )
96- for ( let [ m , p ] of allModulePaths ) {
97- if ( p === sp ) {
98- let ss = allModuleSources . get ( m )
96+ for ( let [ moduleName , modulePath ] of allModulePaths ) {
97+ if ( moduleName != null && path . normalize ( modulePath ) === path . normalize ( sp ) ) {
98+ let ss = allModuleSources . get ( moduleName )
9999 // trace("**getAllDocumentPaths** ", Array.from(ss).join(","))
100100 return Array . from ( ss )
101101 }
You can’t perform that action at this time.
0 commit comments