Skip to content
Merged
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
4 changes: 4 additions & 0 deletions server/src/languages/tolk/inlays/parameters-hints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ function processParameters(
// don't show hints for single letter parameters
continue
}
if (paramName === "constString") {
// not very useful information
continue
}

if (arg.text === paramName || arg.text.endsWith(`.${paramName}`)) {
// no need to add a hint for `takeFoo(foo)` or `takeFoo(val.foo)`
Expand Down
Loading