LSP support #2623
-
|
Does forgecode has LSP support for rust and typescript or others. So when it programs, it will in real time see its errors and can fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
ForgeCode Services when enabled, will perform a quick check on the edited file to make sure there are no errors. This check happens on every patch that is performed. LSPs are mostly an overkill to be used after each edit operation so we don't use it. LSPs can also negatively affect the trajectory of the agent, because sometimes, the code is syntactically correct, but since the agent hasn't completed the task at hand, there are many errors in the codebase. LSPs should be used for diagnosis at the end of the task, about the time verification needs to be performed. And YES, for those usecases ForgeCode will use the already running LSP if you have our vs-code extension installed. |
Beta Was this translation helpful? Give feedback.
ForgeCode Services when enabled, will perform a quick check on the edited file to make sure there are no errors. This check happens on every patch that is performed. LSPs are mostly an overkill to be used after each edit operation so we don't use it. LSPs can also negatively affect the trajectory of the agent, because sometimes, the code is syntactically correct, but since the agent hasn't completed the task at hand, there are many errors in the codebase. LSPs should be used for diagnosis at the end of the task, about the time verification needs to be performed. And YES, for those usecases ForgeCode will use the already running LSP if you have our vs-code extension installed.
Link: https:…