* if doc has been recently changed, wait before running code action
* checking needs delay in extension
* removed unused awaits
* removed unused checks
* remove whitespace
* remove needsDelay and adds delay in extension instead
* remove recentlyadded
* remove whitespace
* cleanup from comments
* adds back needs delay
* deal with cancellation state
* remove whitespace and needsDelay again
* clean up
* Update codeActionController.ts
* add review
* added position for extra check
* Split TS' AI-backed code actions into separate entries
Lets the user decide whether to add AI to their code action, which shows
intent, which is good for us to learn whether people actually want this.
Related: this should be unflagged for insiders. To do this, do I just
delete the flags?
* Stop appending a duplicate message in missingFunctionDeclaration
* Fix: quickfix was still showing Copilot-only
It's a workaround--I'm not sure of the right way to do this.
* Update to use `isAI`
* Put AI code actions after others.
* Add isAI to rest of code actions
* Remove flags for TS AI code actions
* Check for copilot-chat instead of copilot
It's possible to have copilot installed without copilot-chat.
* Fix file casing
---------
Co-authored-by: Matt Bierner <matb@microsoft.com>
Reduce direct dependencies on ts in web server
This reduces the number of direct imports of `ts` in `webServer.ts`. This sets us up so that we can eventually swap out the TS versions at runtime instead of being limited to the TS version webServer is bundled against
commit bc4dc881ba
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Tue Nov 21 13:07:39 2023 +0100
adding one more possibility which is lightbulb sparkle and auto-fix
commit a5dfa1f620
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Tue Nov 21 12:55:44 2023 +0100
removing one because should be using zero based ranges
commit 78b29c0b56
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Tue Nov 21 12:49:50 2023 +0100
using the navTree request instead
commit ba1b8fef77
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Tue Nov 21 12:20:38 2023 +0100
polishing the code
commit 5ae767f43a
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Tue Nov 21 12:14:35 2023 +0100
polishing the code
commit fd347bb0e2
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Tue Nov 21 11:03:04 2023 +0100
remembering the class array that was previously set, so not removing the whole class array
commit fd5fd11bfc
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Tue Nov 21 10:54:18 2023 +0100
using the appropriate icon
commit df29259136
Merge: 5285e1d97e633efd8c55
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Tue Nov 21 10:47:18 2023 +0100
Merge branch 'main' into aiday/differentLightBulbDependingOnCodeAction
commit 5285e1d97e
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Mon Nov 20 18:24:45 2023 +0100
making the filtering function synchronous
commit a86c36c6b0
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Mon Nov 20 17:42:11 2023 +0100
adding code in order to also include move to a new file only when on the range of interest
commit 2cedc2ffb4
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Mon Nov 20 17:11:13 2023 +0100
not showing move to file all the time
commit 8f4ade1d3d
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Mon Nov 20 14:50:56 2023 +0100
removing the code which does the selection check
commit 2e0e6c534e
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Mon Nov 20 14:31:55 2023 +0100
adding code in order to execute the AI code action when it is unique
commit a037c7e8e9
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Mon Nov 20 14:05:32 2023 +0100
adding code in order to be able to detect when different code actions partitions appear
commit abd005b78b
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Fri Nov 17 18:07:26 2023 +0100
changing the heuristic of the move to code actions
commit e4886eab7a
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Fri Nov 17 17:25:57 2023 +0100
removing model
commit 79102a983b
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Fri Nov 17 17:25:48 2023 +0100
making lightbub icon appear on empty lines
commit ee8bb3475b
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Fri Nov 17 17:09:15 2023 +0100
directly resolving the code action when it is an ai code action
commit 4d4bcb9b34
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date: Fri Nov 17 17:02:34 2023 +0100
wip allow lightbulb menu to specify different icons depending on the code actions