Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Feature",
"description": "Automatically pause and resume @workspace indexing when OS CPU load is high"
}
4 changes: 2 additions & 2 deletions packages/core/src/amazonq/lsp/lspController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export interface Manifest {
}
const manifestUrl = 'https://aws-toolkit-language-servers.amazonaws.com/q-context/manifest.json'
// this LSP client in Q extension is only going to work with these LSP server versions
const supportedLspServerVersions = ['0.1.9']
const supportedLspServerVersions = ['0.1.13']

const nodeBinName = process.platform === 'win32' ? 'node.exe' : 'node'
/*
Expand Down Expand Up @@ -285,7 +285,7 @@ export class LspController {
const resp: RelevantTextDocument[] = []
chunks?.forEach((chunk) => {
const text = chunk.context ? chunk.context : chunk.content
if (chunk.programmingLanguage) {
if (chunk.programmingLanguage && chunk.programmingLanguage !== 'unknown') {
resp.push({
text: text,
relativeFilePath: chunk.relativePath ? chunk.relativePath : path.basename(chunk.filePath),
Expand Down
Loading