Open alex290 opened 1 year ago
I'm experiencing the same issue. However, in my case it only occurs when I'm using the Remote-SSH plugin to connect to the server. When I'm working directly on the server or via RDP, the Add Definition feature work fine. Setup:
Server: x86_64, Ubuntu 22.04, xRDP server, c++ project runs here (C-mantic plugin and C/C++ IntelliSense plugin are installed)
Client: x86_64, Win 10, Connecting to server via VS Code with Remote-SSH plugin or via RDP
me too,but i find some connection with ms-vscode.cpptools。1.12.4 is ok
me too,but i find some connection with ms-vscode.cpptools。1.12.4 is ok
Thank you so much, friend. It worked!!
@BigBahss
me too,but i find some connection with ms-vscode.cpptools。1.12.4 is ok
Thanks! Solved my issues as well.
I solved the problem in a different way
BasedOnStyle: Google
AccessModifierOffset: -4
ConstructorInitializerIndentWidth: 2
AlignEscapedNewlinesLeft: false
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeBinaryOperators: false
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: true
BinPackParameters: true
ColumnLimit: 500
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerBinding: false
PointerBindsToType: true
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: true
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 60
PenaltyBreakString: 1
PenaltyBreakFirstLessLess: 1000
PenaltyExcessCharacter: 1000
PenaltyReturnTypeOnItsOwnLine: 90
SpacesBeforeTrailingComments: 2
Cpp11BracedListStyle: false
Standard: Auto
IndentWidth: 4
TabWidth: 4
UseTab: Never
IndentFunctionDeclarationAfterType: false
SpacesInParentheses: false
SpacesInAngles: false
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
ContinuationIndentWidth: 4
SortIncludes: false
SpaceAfterCStyleCast: false
# Configure each individual brace in BraceWrapping
BreakBeforeBraces: Custom
# Control of individual brace wrapping cases
BraceWrapping: {
AfterClass: 'true'
AfterControlStatement: 'true'
AfterEnum : 'true'
AfterFunction : 'true'
AfterNamespace : 'true'
AfterStruct : 'true'
AfterUnion : 'true'
BeforeCatch : 'true'
BeforeElse : 'true'
IndentBraces : 'false'
}
And everything works fine. Everything works even faster
I think this is related to #57. I am wondering if there is something strange when interfacing with the ms-vscode.cpptools
the API changed somehow. When I run this command I see the following on the Remote Extension Host
window:
[warning] tdennis4496.cmantic - Code actions of kind 'quickfix 'requested but returned code action is of kind 'refactor'. Code action will be dropped. Please check 'CodeActionContext.only' to only return requested code actions.
Do you see that error?
Hello. Refactoring (Add Definition) began to work strangely. When added to the cpp file, only curly braces are created. I don't understand where to look for the reason.
It used to work fine