Common Issues
Status: Current Last updated: 2026-03-30 13:40 EDT
This chapter covers the most frequently encountered problems and their solutions.
No Diagnostics Appearing
Symptom: You open a .cha file but see no error squiggles, no entries in the Problems panel, and no inlay hints.
Possible causes and fixes:
-
The language server is not running. Check the Output panel: click the dropdown and select “TalkBank Language Server”. If there is no such entry, the server failed to start. See LSP Connection for troubleshooting.
-
The file is not recognized as CHAT. Check the language mode indicator in the bottom-right of the status bar. It should show “CHAT”. If it shows “Plain Text” or another language, click on it and select “CHAT” from the list, or ensure the file has a
.chaextension. -
Validation severity is set to filter out all diagnostics. Check
talkbank.validation.severityin your settings. If set to"errorsOnly", warnings and information-level diagnostics are hidden. Try setting it to"all". -
The file is actually valid. If the file has no errors, no diagnostics will appear. This is correct behavior.
Extension Not Activating
Symptom: Opening a .cha file does not trigger syntax highlighting or any extension features.
Fixes:
-
Check the file extension. The extension activates only on
.chafiles. Files with other extensions (.txt,.chat) will not trigger activation. -
Check that the extension is installed and enabled. Open the Extensions sidebar (
Cmd+Shift+X) and search for “TalkBank CHAT”. The extension should show as installed and enabled. -
Check the development host. If running via
code --extensionDevelopmentPath=., ensure you are running the command from theapps/vscode-extension/directory and thatnpm run compilehas been run.
Formatting Does Nothing
Symptom: Running Format Document (Shift+Alt+F) produces no changes.
This is usually correct. The formatter re-serializes the document through the canonical CHAT serializer. If the document is already in canonical form, no changes are needed and the formatter correctly reports no edits.
If you expected changes (e.g., fixing indentation):
- Ensure the file has
@UTF8and@Beginheaders – the formatter requires a structurally valid CHAT document. - Check that the language server is running (see above).
Dependency Graph Not Rendering
Symptom: The dependency graph panel shows “Failed to load Graphviz renderer” or a blank panel.
Fixes:
-
Check that
node_modulesis present. The Graphviz WASM renderer (@hpcc-js/wasm) is bundled with the extension. Ifnode_modules/@hpcc-js/wasm/is missing, runnpm installin theapps/vscode-extension/directory. -
Ensure the utterance has a
%gratier. The dependency graph requires a%gra(grammatical relations) tier on the current utterance. Position your cursor on an utterance that has%gradata and try again. -
Offline usage. The Graphviz renderer works fully offline – no internet connection is required. If it worked before and stopped, try reinstalling the extension.
CLAN Integration Not Working
Symptom: “Open in CLAN” does nothing or shows an error.
Platform support:
| Platform | Status |
|---|---|
| macOS | Supported via Apple Events |
| Windows | Supported via Windows messaging |
| Linux | Not supported (CLAN is macOS/Windows only) |
macOS fixes:
- Ensure CLAN is installed and has been launched at least once
- The extension uses Apple Events IPC – check that CLAN is not blocked by macOS security settings
Windows fixes:
- Ensure CLAN is installed and running
- The extension uses Windows messaging (
WM_APP) – CLAN must be running to receive the message
This feature is entirely optional. All editing, validation, and analysis features work without CLAN installed.
Hover Shows No Alignment Data
Symptom: Hovering over a word on the main tier shows no cross-tier alignment information.
Requirements for alignment:
- The utterance must have at least one dependent tier (
%mor,%gra,%pho, or%sin) - Both the main tier and the dependent tier must be syntactically valid
- The alignment counts must match (or the extension shows a mismatch hint instead)
If the main tier has words but no %mor tier is present, there is nothing to align.
Scoped Find Returns No Results
Symptom: “Find in Tier” finds nothing even though you know the term exists.
Check:
- Are you searching the right tier? The scoped find restricts to the selected tier type only.
- Regex mode is activated by prefixing the query with
/. If your search term contains/, it will be interpreted as a regex pattern. - Speaker filtering is applied. If you selected specific speakers, results from other speakers are excluded.
Related Chapters
- LSP Connection – language server startup and debugging
- Media Not Found – media playback issues
- Settings Reference – all configurable settings