microsoft / microsoft/vscode-cpptools
Description hover do not process '//=====' template
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
Environment
- OS and Version: Any
- VS Code Version: 1.96
- C/C++ Extension Version: 1.3.0
- If using SSH remote, specify OS of remote machine:
Bug Summary and Steps to Reproduce
Bug Summary:
Incorrect processing of comment in the next template:
//=======================================================================
// function : Save
// purpose :
//=======================================================================
TCollection_AsciiString DE_Wrapper::Save(const Standard_Boolean theIsRecursive,
const TColStd_ListOfAsciiString& theFormats,
const TColStd_ListOfAsciiString& theVendors)
{
The result:
For example //~~~~~ or //------ working well
Steps to reproduce:
- Go to any c++ code and write a function separator in //=== /n ... //==== format
- Click on method which are having new comment
- See incorrect markdown processing
Note:
C_Cpp: Markdown In Comments setting in case of "disable" helps to avoid scaling of the //=== template, but === still show in hover
Expected behavior:
No scaling of the hover and no ====== is visible in comment.
Configuration and Logs
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/src/**"
],
"defines": [],
"cStandard": "c17",
"cppStandard": "gnu++17",
"intelliSenseMode": "linux-clang-x64",
"mergeConfigurations": true,
"browse": {
"databaseFilename": "${workspaceFolder}/build/browse.vc.db",
"limitSymbolsToIncludedHeaders": false
},
"compilerPath": "/usr/bin/clang++-20",
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}
Other Extensions
No response
Additional context
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere das Problem in einer C++-Datei mit dem //===== separator und untersuche die Hover-Markdown-Verarbeitung der C/C++ extension, einschließlich der Einstellung C_Cpp: Markdown In Comments. Als erledigt gilt, wenn der Hover weder den separator skaliert noch die Gleichheitszeichen als sichtbaren Markdown-Inhalt anzeigt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, typescript, vscode
- Bereich
- developer-experience, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100