I run vscode on osx and installed the C / C ++ plugin that brought the package with me ClangFormat:
ClangFormat
Installing the package "C / C ++ Language Components (OS X)"Installing the package "ClangFormat (OS X)"Installing the package "Monoblock assemblies"Installing the package "Mono Runtime (OS X)"Installing the package "LLDB 3.8.0 (OS X) ) "
I can format the code in C ++ and even successfully change the style clang-format:
clang-format
"C_Cpp.clang_format_style": "google" `
The fact is that I do not have clang-format installed on my system, and the path in the vscode settings is also not installed:
"C_Cpp.clang_format_path": null
How is formatting done here? What is the package ClangFormatthat vscode installed? Where and where? This is not a plugin.Does any package manager other than use homebrewto install the distribution clang-formatin a custom location that is not in the path?
homebrew
Linux Mint C/++ Microsoft, , . :
~/.vscode/extensions/ms-vscode.cpptools-0.12.3/LLVM/bin/
Windows, :
%USERPROFILE%\.vscode\extensions\ms-vscode.cpptools-0.12.3\LLVM\bin\
OSX :
, Arch.
Source: https://habr.com/ru/post/1684164/More articles:ΠΡΡΡ Π»ΠΈ ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Π΄Π»Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ Π‘++ 11 Π½Π°Π΄ Π‘++ 17 - c++11Assign value to numpy array with index fragments superimposed - pythonModels of a Gaussian mixture of image histograms - pythonΠΠ°ΠΏΠΎΠ»Π½ΠΈΡΠ΅ ΠΌΠ°ΡΡΠΈΠ² 1D numpy ΠΌΠ°ΡΡΠΈΠ²Π°ΠΌΠΈ Ρ ΠΈΠ½Π΄Π΅ΠΊΡΠ°ΠΌΠΈ - pythonΠΠ΅ΠΊΡΠΎΡΠΈΠ·Π°ΡΠΈΡ Π΄Π»Ρ Π²ΡΡΠΈΡΠ»Π΅Π½ΠΈΡ ΠΌΠ½ΠΎΠ³ΠΈΡ ΡΠ°ΡΡΡΠΎΡΠ½ΠΈΠΉ - pythonChanging the price of goods through the hook in WooCommerce 3 - phpSubset strings according to time range (including minutes) - datetimeIs it safe to wrap the current request in a static instance? - multithreadingFilter all days between the time range in R - filterZeroMQ Multipart Message Part Two Size 0 - c ++All Articles