A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/microsoft/vscode-cpptools/issues/3174 below:

Code formatting does not work in the latest version of libtinfo · Issue #3174 · microsoft/vscode-cpptools · GitHub

Type: LanguageService

Describe the bug

To Reproduce

  1. Install the Microsoft C/C++ extension in VS Code installed on a fresh Kubuntu 18.10 installation.
  2. Run the 'Format Document' command in the 'Command Palette' (or press Ctrl + Shift + I which is the default keybinding)
  3. Open the output window (Ctrl + J) and choose C/C++ in the drop down list.
  4. See error (error shown in the output window given below)

Expected behavior

The code will be formatted with proper indentation, spacing, etc.

Screenshots

Additional context

From the output window:

Formatting failed:
/home/user/.vscode/extensions/ms-vscode.cpptools-0.21.0/bin/../LLVM/bin/clang-format -style={ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 2, TabWidth: 2, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0 } -fallback-style=LLVM -sort-includes=0 -assume-filename=/home/user/program.c
  /home/user/.vscode/extensions/ms-vscode.cpptools-0.21.0/bin/../LLVM/bin/clang-format: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

-->I believe that giving the Microsoft C/C++ extension support for libtinfo6 will solve the problem.

avahe-kellenberger, DianaNites, g-chernikov, Bigsby, qt1 and 4 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4