Risu
Risu
I didn't have a simple example, sorry. I'd like to modify options after creation like this. ```java public SlashCommandData setOptionsDefaultDescription(SlashCommandData command, LocalizationFunction function) { List options = command.getOptions().stream() .map(option ->...
I'd like to create an option data with dummy description text first because I'd like to get the default description from a resource bundle but the parent command name is...
I have checked LocalizationFunction but it seemed there is no support for the default locale. I'd like to get a Japanese description from command_ja.properties and a default description, I mean...
I'm sorry for my unclear comments. I mean, I'd like to use ResourceBundleLocalizationFunction for the default description too like the following. ```java var command = Commands.slash("name", "empty").setLocalizationFunction(resourceBundleLocalization); ``` where, `commands.properties`...
Thank you both so much. That looks good.
For me, `prettier.config.cjs` with `plugins: [require.resolve('plugin-name')]` like below worked for both the vscode extension and CLI. Using `prettier.config.ts` resolved the error; however, the plugin did not work. Also, `plugins: ['plugin-name']`...
@viceice Could you try using `require.resolve` like this? It worked for me. ```js // .prettierrc.cjs /** @type {import("prettier").Options} */ module.exports = { singleQuote: true, trailingComma: 'all', plugins: [require.resolve('prettier-plugin-packagejson')], }; ```
I have no idea about yarn pnp... I'm using pnpm.
It seems #887 already implements it. Looking forward to using this feature in Hono!
Thanks! https://github.com/bazelbuild/bazel-watcher/pull/736 fixed the issue.