Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newlines in Auto Completion is not working in later Versions #6908

Closed
mhummels opened this issue Feb 4, 2021 · 2 comments
Closed

Newlines in Auto Completion is not working in later Versions #6908

mhummels opened this issue Feb 4, 2021 · 2 comments
Labels
duplicate Feature: Doc comments An issue related to code comments shown in hover, completion, and signature help. Language Service

Comments

@mhummels
Copy link

mhummels commented Feb 4, 2021

Type: LanguageService

Describe the bug

  • OS and Version: Ubuntu 20.04
  • VS Code Version: 1.52.1
  • C/C++ Extension Version: 0.29.0 up to 1.2.0
  • Other extensions you installed (and if the issue persists after disabling them): disabled all for testing, problem persists
  • Does this issue involve using SSH remote to run the extension on a remote machine?: no

In Issue #2937 the problem with multiple lines in the code preview was fixed with version 0.23.0. In my current setup it does not work, so I tried downgrading to 0.23.0 and tada it worked. Then I upgraded versionwise to 0.29.0 where it stopped working. So it seems like every version 0.29.0 and above do have the same Issue again.

Steps to reproduce

  1. Install current Version of cpptools
  2. Write Function with Doxygenconform header over multiple lines. For example:
/**
 * @brief test function
 * 
 * Some
 * 
 * Test
 */
int test()
{
    return 0;
}

int main() {
    test();
}
  1. Open the Preview of test():
    grafik
  2. All comment lines are on one line

Expected behavior
On cpptools Version 0.28.3 it looks as expected:
grafik
With exception of the missing parsing of the doxygen commands.

@sean-mcmanus
Copy link
Contributor

@michelleangela Do you know about this? It repros with VS too and with simplifyStructuredComments set to true or false.

@sean-mcmanus sean-mcmanus added Feature: Doc comments An issue related to code comments shown in hover, completion, and signature help. Language Service labels Feb 5, 2021
@michelleangela
Copy link
Contributor

This a duplicate of #5741 and #5903

@github-actions github-actions bot locked and limited conversation to collaborators Mar 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate Feature: Doc comments An issue related to code comments shown in hover, completion, and signature help. Language Service
Projects
None yet
Development

No branches or pull requests

3 participants