Koen Vlaswinkel
073440914d
Set instance variables on webview load
2023-10-10 16:55:55 +02:00
Koen Vlaswinkel
77bb9780ec
Fix confusion between modeling store an view states
...
This fixes three bugs related to the modeling store and view states:
- In the model editor view, when `setModeledMethods` was called, it
would do it on the active database, instead of the database that the
view was showing. This should not result in any visible bugs since the
active database is always the one that is being shown (in theory), but
I can imagine that it could cause issues if showing multiple model
editors next to each other.
- In the method modeling panel, the "reveal in editor" button would
always show the already active model editor. Therefore, if you had
multiple open and were still viewing the method of the first one, it
would always show the second one.
- In the method modeling panel, the same bug would cause the incorrect
modeled methods to be updated.
2023-10-10 16:44:40 +02:00
Koen Vlaswinkel
bb88c148aa
Merge pull request #2941 from github/koesie10/modeling-store-modeled-methods-bug
...
Fix bug when selecting method without modeled methods
2023-10-10 16:18:42 +02:00
Koen Vlaswinkel
2e2ab11e4f
Merge pull request #2939 from github/koesie10/unhandled-error-stack
...
Add stack trace to unhandled error log message
2023-10-10 16:10:01 +02:00
Robert
246c347b04
Merge pull request #2938 from github/robertbrignull/legacy-conversion
...
Make use of modeled-methods-legacy.ts in the webview code
2023-10-10 15:00:52 +01:00
Koen Vlaswinkel
e332b26f29
Fix bug when selecting method without modeled methods
...
When selecting a method that has no modeled methods, the modeling state
would not contain an entry for the method signature. This would cause
the `modeledMethods` to be `undefined`, which is not allowed according
to its type.
2023-10-10 15:51:59 +02:00
Koen Vlaswinkel
22f6ac7974
Add stack trace to unhandled error log message
...
This change sets the `fullMessage` of the
`showAndLogExceptionWithTelemetry` to include the stack trace. This
makes it possible to find the source of the error rather than only
knowing that a specific error occurred. If the error does not have a
stack trace (which should be rare) the message will be the same as
before.
2023-10-10 15:45:49 +02:00
Robert
e45f4bd0d9
Merge branch 'main' into robertbrignull/legacy-conversion
2023-10-10 14:37:20 +01:00
Charis Kyriakou
f4d74c7d3f
Deal with already modeled methods in the modeling panel ( #2933 )
2023-10-10 14:35:21 +01:00
Robert
7ba58b6298
Use legacy modeled method conversions instead of custom conversions
2023-10-10 14:23:06 +01:00
Robert
2b59c041b8
Make convertFromLegacyModeledMethod handle undefined
2023-10-10 14:23:06 +01:00
Robert
a434fbffbc
Move modeled-methods-legacy.ts to /shared directory
2023-10-10 14:23:06 +01:00
Charis Kyriakou
4ee86c15ad
Add some spacing in modeling method empty states ( #2934 )
2023-10-10 10:52:15 +00:00
Robert
fcfd4f37a6
Merge pull request #2926 from github/robertbrignull/JumpToUsageMessage
...
Only include method signature in JumpToUsageMessage
2023-10-10 11:12:36 +01:00
Robert
6561bb0543
Merge branch 'main' into robertbrignull/JumpToUsageMessage
2023-10-10 10:50:21 +01:00
Koen Vlaswinkel
319a54c32f
Merge pull request #2906 from github/koesie10/convert-remaining-multiple-models
...
Convert remaining extension host code to handle multiple models
2023-10-10 11:43:09 +02:00
Koen Vlaswinkel
385b0e8d1a
Merge remote-tracking branch 'origin/main' into koesie10/convert-remaining-multiple-models
2023-10-10 11:22:08 +02:00
Robert
4dcfa8b679
Merge pull request #2927 from github/robertbrignull/generateMethodsFromLlm
...
Only include method signatures in generateMethodsFromLlm message
2023-10-10 10:19:20 +01:00
Robert
47509a922a
Rename jumpToUsage => jumpToMethod throughout
2023-10-10 10:14:27 +01:00
Charis Kyriakou
7eab7e4e48
Set modeling mode when initialising method modeling panel ( #2932 )
2023-10-10 10:12:01 +01:00
Charis Kyriakou
f794a19d96
Track db related to modeled method and react when it closes ( #2930 )
2023-10-10 09:51:50 +01:00
Charis Kyriakou
e98611fd21
Ensure modified methods updated after changing a method from the modeling panel ( #2929 )
2023-10-10 08:57:36 +01:00
Koen Vlaswinkel
461cf15a47
Merge remote-tracking branch 'origin/main' into koesie10/convert-remaining-multiple-models
2023-10-10 09:30:29 +02:00
Koen Vlaswinkel
54e1b29940
Add explicit return type to convertToLegacyModeledMethod
2023-10-10 09:26:27 +02:00
Dave Bartolomeo
623890adc9
Merge pull request #2922 from github/dbartol/passthru
...
Add `additionalArgs` option to `launch.json`
2023-10-09 15:04:13 -04:00
Dave Bartolomeo
e7f75ab928
Merge branch 'dbartol/passthru' of https://github.com/github/vscode-codeql into dbartol/passthru
2023-10-09 14:44:49 -04:00
Dave Bartolomeo
df02fecf3c
Fix test expectations
2023-10-09 14:44:33 -04:00
Dave Bartolomeo
a861346b10
Merge branch 'main' into dbartol/passthru
2023-10-09 14:06:14 -04:00
Philip Ginsbach
86b2157552
Merge pull request #2792 from github/ginsbach/TextMateInstantiationSyntax
...
fix syntax highlighting after imports with instantiation arguments
2023-10-09 17:17:55 +01:00
Philip Ginsbach
47fa163cb9
Update compiled grammar
2023-10-09 16:58:00 +01:00
Dave Bartolomeo
c78f01758a
Alternate fix for import highlighting with instantiations
2023-10-09 16:58:00 +01:00
Philip Ginsbach
353e22d6e8
link to the PR from the changelog entry
2023-10-09 16:58:00 +01:00
Philip Ginsbach
599d31e5ac
add changelog entry for TextMate instantiation argument syntax
2023-10-09 16:57:25 +01:00
Philip Ginsbach
64df792eda
TextMate grammar: imports can have instantiation arguments
2023-10-09 16:56:21 +01:00
Robert
feebf7c3fd
Only include method signatures in generateMethodsFromLlm
2023-10-09 16:17:46 +01:00
Robert
27c4bd8349
Merge pull request #2910 from github/robertbrignull/multiple-models-method-row
...
Add ability for MethodRow to render multiple modelings of the same method
2023-10-09 16:17:17 +01:00
Dave Bartolomeo
d4cbfbb70e
Rename to additionalRunQueryArgs
2023-10-09 11:04:22 -04:00
Robert
153424ae5a
Only include method signature in JumpToUsageMessage
2023-10-09 16:03:41 +01:00
Robert
edd2aa5e8f
Merge branch 'main' into robertbrignull/multiple-models-method-row
2023-10-09 15:38:00 +01:00
Robert
0265353370
Use index as react key
2023-10-09 14:44:43 +01:00
Koen Vlaswinkel
623df4c2ee
Merge pull request #2919 from github/koesie10/show-multiple-models-listener
...
Listen to modeling setting changes in the model editor and method modeling panel
2023-10-09 15:38:30 +02:00
Robert
8b0825ab3c
Use better name for variable
2023-10-09 14:32:56 +01:00
Robert
c620939895
Merge pull request #2913 from github/robertbrignull/SaveModeledMethods
...
Remove method and modeledMethods from SaveModeledMethods message
2023-10-09 14:16:30 +01:00
Koen Vlaswinkel
e4a290fe37
Merge pull request #2925 from github/koesie10/method-modeling-codeowner
...
Set SecExp as codeowner for modeling panel
2023-10-09 15:13:56 +02:00
Koen Vlaswinkel
3230cc9166
Set SecExp as codeowner for modeling panel
2023-10-09 14:56:38 +02:00
Koen Vlaswinkel
5c368cec8b
Merge pull request #2921 from github/koesie10/modeling-panel-multiple-models
...
Add ability for method modeling panel to render multiple modelings of the same method
2023-10-09 14:27:30 +02:00
Koen Vlaswinkel
b76369330d
Convert remaining extension host code to handle multiple models
...
This converts all remaining extension host code to handle multiple
models per method. The only place where we're using the legacy format
is in the webview and in the boundary between the webview and the
extension host.
2023-10-09 13:56:41 +02:00
Koen Vlaswinkel
323c5368ba
Switch from CodiconButton to VSCodeButton
2023-10-09 13:52:55 +02:00
Robert
c3e18910fc
Fix typo in comment
2023-10-09 12:26:09 +01:00
Robert
603c799717
Merge pull request #2923 from github/robertbrignull/telemetry-changelog
...
Update CHANGELOG.md for telemetry changes
2023-10-09 12:24:39 +01:00