diff --git a/packages/symbols-view/lib/symbols-view.js b/packages/symbols-view/lib/symbols-view.js index 2d69a9b32c..3c716b20df 100644 --- a/packages/symbols-view/lib/symbols-view.js +++ b/packages/symbols-view/lib/symbols-view.js @@ -335,6 +335,7 @@ class SymbolsView { symbol.directory = `${parts.dir}${Path.sep}`; symbol.file = parts.base; } + symbol.name = symbol.name.replace(/[\n\r\t]/, ' '); allSymbols.push(symbol); } }