File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 "typescript" : " ^3.1.3"
6060 },
6161 "dependencies" : {
62- "@sourcegraph/basic-code-intel" : " 5 .0.1 " ,
62+ "@sourcegraph/basic-code-intel" : " 6 .0.0 " ,
6363 "@types/ws" : " ^6.0.1" ,
6464 "rxjs" : " ^6.3.3" ,
6565 "tagged-template-noop" : " ^2.1.0" ,
Original file line number Diff line number Diff line change @@ -48,14 +48,14 @@ export function activate(ctx: sourcegraph.ExtensionContext = DUMMY_CTX): void {
4848 )
4949 }
5050 return activateBasicCodeIntel ( {
51+ languageID : 'python' ,
5152 fileExts : [ 'py' ] ,
5253 definitionPatterns : [ '\\b%s\\b=' ] ,
5354 commentStyle : {
5455 docPlacement : 'below the definition' ,
55- lineRegex : / # \s * ( . * ) / ,
56+ lineRegex : / # \s ? / ,
5657 block : {
5758 startRegex : / " " " / ,
58- contentRegex : / ^ \s * ( .* ) / ,
5959 endRegex : / " " " / ,
6060 } ,
6161 } ,
Original file line number Diff line number Diff line change 734734 dependencies :
735735 esquery "^1.0.1"
736736
737- " @sourcegraph/basic-code-intel@5 .0.1 " :
738- version "5 .0.1 "
739- resolved "https://registry.yarnpkg.com/@sourcegraph/basic-code-intel/-/basic-code-intel-5 .0.1 .tgz#709634a78242c89b8ca30b636ee32e64c2e5425f "
740- integrity sha512-G18EzN8GEzCl+mAtqaGklOaSqtfW1sKPnJEiGem28lAdvC5ITmNNUGRFwtFiCLQa+EGPNA26MvJvXIcHOnZIPg ==
737+ " @sourcegraph/basic-code-intel@6 .0.0 " :
738+ version "6 .0.0 "
739+ resolved "https://registry.yarnpkg.com/@sourcegraph/basic-code-intel/-/basic-code-intel-6 .0.0 .tgz#d85370469b5e11794c9363ec440343d8b9d8e93d "
740+ integrity sha512-TIDnfv9VdiBXk3/47h0IuNR3Vsco7/hqh2+hVhRJdr7nyztFMGqGwYmBOouwCJXrJ5pnDCQ3uVD8iDYxPXoghw ==
741741 dependencies :
742742 lodash "^4.17.11"
743743 rxjs "^6.3.3"
You can’t perform that action at this time.
0 commit comments