[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2023-01-11 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 Waqar Ahmed changed: What|Removed |Added Latest Commit||https://invent.kde.org/util |

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-14 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #24 from Waqar Ahmed --- Also, pasting your full cmake output will be more helpful. -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-14 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #23 from Waqar Ahmed --- No, but I would suggest you to join the kde-devel chat on IRC / Matrix / Telegram and ask someone there. -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-14 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #22 from infrandomn...@gmail.com --- (In reply to Waqar Ahmed from comment #21) > yes, devel package I've been trying to find a libKF5NewStuff5-devel package, or something rather similar to it in the oS TW repos, couldn't find anything. Do

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-14 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #21 from Waqar Ahmed --- yes, devel package -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-14 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #20 from infrandomn...@gmail.com --- Well, for some reason, I have KF5NewStuff v5.90.0 on my machine, and cmake still isn't able to detect it. Do I need some kind of *-devel package for this? -- You are receiving this mail because: You are

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-14 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #19 from Waqar Ahmed --- No. after building check if there is a `kateprojectplugin.so` file in the `build/bin/ktexteditor` directory. If it exists, that means project plugin got built successfully and then you can test it by running the

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-14 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #18 from infrandomn...@gmail.com --- Right. I have this : ``` * KF5NewStuff (required version >= 5.83.0) Required to build the project addon Required to build the snippets addon ``` And I have the KF5NewStuff at version 5.90.0 Is my

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-13 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #17 from Waqar Ahmed --- Ah, I guess you don't have the libraries installed and hence the project plugin never builds ;/ I guess we should have a warning in such cases at least so the user can know what happened. You need at least these

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #16 from infrandomn...@gmail.com --- Seeing how make compiles different files in addon/, it seems to never go over addon/project entirely, maybe there's a specific option I need to feed to CMake for make to build the analysis tools? -- You

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #15 from infrandomn...@gmail.com --- (In reply to Christoph Cullmann from comment #14) > I would propose to just run always make. > If you have once compiled the stuff in kate, only the changed stuff will be > recompiled anyways. > Did you

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #14 from Christoph Cullmann --- I would propose to just run always make. If you have once compiled the stuff in kate, only the changed stuff will be recompiled anyways. Did you have success in the mean time to get it to compile? -- You

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #13 from Waqar Ahmed --- > Running make "katebuildplugin" seems to tell me there is nothing to be > built... That's not right. Either just run "make" or "make kateprojectplugin". Build plugin is different. You can find the plugin name

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #12 from infrandomn...@gmail.com --- I have done this part ```rs Index: addons/project/CMakeLists.txt IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #11 from Waqar Ahmed --- Maybe you forgot to add the new tool's implementation files to `addons/project/CMakeLists.txt`? Check for other tools files that are in that file and just add yours below them:

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #10 from infrandomn...@gmail.com --- Running make "katebuildplugin" seems to tell me there is nothing to be built... -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #9 from infrandomn...@gmail.com --- How do I make sure I am building those as well? I am very new to CMake -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #8 from infrandomn...@gmail.com --- (In reply to Waqar Ahmed from comment #6) > I assume you cloned the repo and did > > mkdir build > cd build > cmake .. > make > ./bin/kate # run > > if so, the kate that gets run loads system plugins

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #7 from Waqar Ahmed --- QT_PLUGIN_PATHS => QT_PLUGIN_PATH typo^ -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 Waqar Ahmed changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #5 from infrandomn...@gmail.com --- (In reply to Christoph Cullmann from comment #3) > Sounds like some good fit, yes. > > Are you interested in contributing a patch for this? > > This is handled in kate.git/addons/project/tools I am not

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #4 from infrandomn...@gmail.com --- (In reply to Christoph Cullmann from comment #3) > Sounds like some good fit, yes. > > Are you interested in contributing a patch for this? > > This is handled in kate.git/addons/project/tools Sure !

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-10 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=449966 Christoph Cullmann changed: What|Removed |Added CC||cullm...@kde.org

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449966 --- Comment #2 from infrandomn...@gmail.com --- Yep, sorry. Clippy is a formatting tool for rust https://github.com/rust-lang/rust-clippy. It gives "advanced" formatting advices to the user. It can be used by installing it (cargo install cargo-clippy)

[kate] [Bug 449966] [Feature Request] cargo clippy code analysis

2022-02-10 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=449966 Waqar Ahmed changed: What|Removed |Added CC||waqar@gmail.com --- Comment #1 from Waqar