bionworkshop.blogg.se

Clion community
Clion community







clion community

( gdb-git) (optional) – native GNU debugger ( fastgcc, gccrs-git, gcc-git) (optional) – GNU compiler

CLION COMMUNITY CODE

( doxygen-git, doxygen-clang) (optional) – Code documentation generation ( cmake-git) (optional) – Build system - Required if clion-cmake is not installed (optional) – JetBrains packaged LLVM debugger (optional) – JetBrains custom Java Runtime (Recommended)

clion community

(optional) – JetBrains packaged GNU debugger (optional) – JetBrains packaged CMake tools I think this case can be closed.įWIW I’m not able to reproduce the problem with a small project.( clang8, llvm-minimal-git, clang-git, llvm-git) (optional) – LLVM compiler This succeeded and SonarLint appears to be analyzing files again.Īt this point, I do not believe the problem is with SonarLint, rather with CLion handling of Compilation Database projects. idea directory and tried reopening the project as a Makefile project. The results were the same as above, including CLion hanging. idea directory and again tried reopening the project as a Compilation Database project. In the “sync” tab I see several messages like “Found several commands for file: …” and “Compilation database project successfully imported” however, CLion hung before fully opening the project. idea directory and reopening the project as a Compilation Database project. AFAICT SonarLint won’t analyze any file in the project, not just specific source files. It’s not a CMake project, it’s a large legacy project with a Makefile and a compile_commands.json generated using bear. I think that I’ve had SonarLint working in CLion with this codebase sometime in the last 6 months, but I can’t be certain as I’ve had to switch computers and IDE’s a couple times. If I create a toy (one source file) CMake project SonarLint does appear to work properly for the toy project.įWIW I’m also able to use the SonarLint VS Code plugin in VS Code in my legacy C codebase as expected. I do not get any SonarLint results whether the project is bound our not though. I have the project bound to a SonarQube project, and the binding appears to work properly (it authenticates and gives me the expected list of projects to choose from). Pressing the green “play” button in the SonarLint tab does not appear to do anything. Synchronizing project branches for project 'project-name'

clion community

Synchronizing analyzer configuration for project 'project-name' Plugin should be updated.Ĭannot start the SonarLint server on 64120 It’s not clear to me if the Log tab in the SonarLint panel is the “debug logs”, but it says: Plugin 'secrets' embeds dependencies. Check the SonarLint debug logs for details.” c file SonarLint says “No analysis done on the current opened file” with an additional warning that says “This file is not automatically analyzed - Some files are not automatically analyzed. I have a fairly large legacy C codebase that I’ve loaded in CLion as a compile_comands.json project. Is connected mode used: Connected to SonarQube Developer Edition Version 9.2.4 (build 50792).Operating system: macOS 12.4 (on Apple Silicon).









Clion community