iFarbod

Results 17 comments of iFarbod

Bump, after all these years, VS' editor config support is still lackluster, I'd like to revive this plugin, in fact I've been using it but I'm annoyed by the yellow...

I did a PR about this (#146) but no one commented on it.

Here's what Android styli can report (I briefly listed them in that mentioned issue): [Pressure](https://developer.android.com/reference/android/view/MotionEvent.html#getPressure(int)): 0.0f to 1.0f **[AXIS_DISTANCE](https://developer.android.com/reference/android/view/MotionEvent#AXIS_DISTANCE)** For a stylus, reports the distance of the stylus from the...

@SirLynix That still generates cl.exe lines, you can try it yourself ;)

I have also tried this, but it doesn't have any effect: ```lua rule("mode.clangd") on_config(function (target) print("Running compile_commands") target:set("toolchains", "clang") end) rule_end() add_rules("mode.debug", "mode.releasedbg", "mode.release", "mode.final", "mode.clangd") ``` `$ xmake project...

@waruqi I think a flag to pass to the project subcommand would be an ideal solution: ```shell $ xmake project -k compile_commands --cc=clang ``` Or making the `is_config()` check true...

@waruqi This works fine but it's a workaround, what about ` add_rules("plugin.compile_commands.autoupdate")` ? I like to use this "rule" to update the `compile_commands.json` database automatically after I compile. Also the...

@waruqi No, the point is that I'm already using the so-called "[Automatic trigger generation](https://xmake.io/#/plugin/more_plugins?id=automatic-trigger-generation)" but since it doesn't have the flag, it'll override it back to MSVC, I need XMake...

> Unless you want to use clangd and also use clang in compile_commands.json. Yes, that's what I want. Please provide a built-in method _or_ guide me to the responsible code...