Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
0430998
feat: move slash commands to settings tab with gear icon for discover…
roomote Sep 15, 2025
46ae66c
feat: simplify slash commands popover and add settings navigation
roomote Sep 15, 2025
bd9a499
ux: Makes text area buttons appear only when there's text (#7987)
brunobergher Sep 15, 2025
a1f8b7d
Removes SlashCommand icon from textarea
brunobergher Sep 15, 2025
f4ab67a
Reorders settings for slash commands
brunobergher Sep 15, 2025
620cf3d
Ensures the gear icon in slash commands goes to the right place in se…
brunobergher Sep 15, 2025
d0ce642
Visual tweaks to make the settings cog work in the slashcommands popo…
brunobergher Sep 15, 2025
690f680
Makes the intro copy for slash commands only appear when there's no s…
brunobergher Sep 15, 2025
6173797
test: add comprehensive test coverage for SlashCommandItemSimple and …
roomote Sep 15, 2025
8801439
fix: corrected C# tree-sitter query (#7813)
mubeen-zulfiqar Sep 15, 2025
05540da
Removes unused components
brunobergher Sep 15, 2025
8041639
Adds translations (including old stuff which had never been localized)
brunobergher Sep 15, 2025
c5df5e4
Merge remote-tracking branch 'origin/main' into feat/slash-commands-s…
mrubens Sep 15, 2025
a09893c
Update webview-ui/src/i18n/locales/ca/chat.json
mrubens Sep 15, 2025
9e86f9a
Update webview-ui/src/i18n/locales/fr/settings.json
mrubens Sep 15, 2025
3eac654
Update webview-ui/src/i18n/locales/ja/chat.json
mrubens Sep 15, 2025
4752dfd
Update webview-ui/src/i18n/locales/nl/chat.json
mrubens Sep 15, 2025
365c817
Update webview-ui/src/i18n/locales/zh-TW/chat.json
mrubens Sep 15, 2025
bb43eb2
Delete webview-ui/src/__tests__/SettingsTabNavigation.spec.tsx
mrubens Sep 15, 2025
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
7 changes: 6 additions & 1 deletion src/core/webview/webviewMessageHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2776,7 +2776,12 @@ export const webviewMessageHandler = async (
TelemetryService.instance.captureTabShown(message.tab)
}

await provider.postMessageToWebview({ type: "action", action: "switchTab", tab: message.tab })
await provider.postMessageToWebview({
type: "action",
action: "switchTab",
tab: message.tab,
values: message.values,
})
}
break
}
Expand Down
4 changes: 4 additions & 0 deletions src/i18n/locales/ca/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/de/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,9 @@
"preventCompletionWithOpenTodos": {
"description": "Prevent task completion when there are incomplete todos in the todo list"
}
},
"docsLink": {
"label": "Docs",
"url": "https://docs.roocode.com"
}
}
4 changes: 4 additions & 0 deletions src/i18n/locales/es/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/fr/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/hi/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/id/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/it/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/ja/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/ko/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/nl/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/pl/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/pt-BR/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/ru/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/tr/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/vi/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/zh-CN/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/i18n/locales/zh-TW/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 37 additions & 33 deletions src/services/tree-sitter/queries/c-sharp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,61 +3,65 @@ C# Tree-Sitter Query Patterns
*/
export default `
; Using directives
(using_directive) @name.definition.using

(using_directive) @definition.using
; Namespace declarations (including file-scoped)
; Support both simple names (TestNamespace) and qualified names (My.Company.Module)
(namespace_declaration
name: (identifier) @name.definition.namespace)
name: (qualified_name) @name) @definition.namespace
(namespace_declaration
name: (identifier) @name) @definition.namespace
(file_scoped_namespace_declaration
name: (qualified_name) @name) @definition.namespace
(file_scoped_namespace_declaration
name: (identifier) @name.definition.namespace)

name: (identifier) @name) @definition.namespace
; Class declarations (including generic, static, abstract, partial, nested)
(class_declaration
name: (identifier) @name.definition.class)

name: (identifier) @name) @definition.class
; Interface declarations
(interface_declaration
name: (identifier) @name.definition.interface)

name: (identifier) @name) @definition.interface
; Struct declarations
(struct_declaration
name: (identifier) @name.definition.struct)

name: (identifier) @name) @definition.struct
; Enum declarations
(enum_declaration
name: (identifier) @name.definition.enum)

name: (identifier) @name) @definition.enum
; Record declarations
(record_declaration
name: (identifier) @name.definition.record)

name: (identifier) @name) @definition.record
; Method declarations (including async, static, generic)
(method_declaration
name: (identifier) @name.definition.method)

name: (identifier) @name) @definition.method
; Property declarations
(property_declaration
name: (identifier) @name.definition.property)

name: (identifier) @name) @definition.property
; Event declarations
(event_declaration
name: (identifier) @name.definition.event)

name: (identifier) @name) @definition.event
; Delegate declarations
(delegate_declaration
name: (identifier) @name.definition.delegate)

name: (identifier) @name) @definition.delegate
; Attribute declarations
(class_declaration
(attribute_list
(attribute
name: (identifier) @name.definition.attribute)))

(attribute
name: (identifier) @name) @definition.attribute

; Generic type parameters
(type_parameter_list
(type_parameter
name: (identifier) @name.definition.type_parameter))

(type_parameter
name: (identifier) @name) @definition.type_parameter

; LINQ expressions
(query_expression) @name.definition.linq_expression
(query_expression) @definition.linq_expression
`


4 changes: 3 additions & 1 deletion webview-ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ const App = () => {
if (message.action === "switchTab" && message.tab) {
const targetTab = message.tab as Tab
switchTab(targetTab)
setCurrentSection(undefined)
// Extract targetSection from values if provided
const targetSection = message.values?.section as string | undefined
setCurrentSection(targetSection)
setCurrentMarketplaceTab(undefined)
} else {
// Handle other actions using the mapping
Expand Down
Loading
Loading