plugin-ruby
plugin-ruby copied to clipboard
Prettier Ruby Plugin
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.0.0 to 2.2.0. Release notes Sourced from dependabot/fetch-metadata's releases. v2.2.0 What's Changed Bump actions/create-github-app-token from 1.9.0 to 1.10.0 by @dependabot in dependabot/fetch-metadata#523 Bump actions/create-github-app-token from 1.10.0 to...
Currently using VSCode Prettier Plugin v10.4.0 + @prettier/plugin-ruby 4.0.2 + prettier 3.0.3. I'm getting the following error: ``` Error: Failed to start parse server. at Timeout. (file:///.../node_modules/@prettier/plugin-ruby/src/plugin.js:127:16) at listOnTimeout (node:internal/timers:573:17)...
Hello there! I'm working on a project which is using this plugin to format ruby code along with RuboCop for additional linting and style consistency. We're following the documented "[Usage...
```rb class Moonbit < Formula desc 'An end-to-end programming language toolchain for cloud and edge computing using WebAssembly' homepage 'https://www.moonbitlang.com' version 'latest' os = OS.mac? ? 'darwin' : 'linux' arch...
This syntax was introduced in [RBS 3.5](https://github.com/ruby/rbs/wiki/Release-Note-3.5#untyped-function-parameters). ```rbs class Foo def dynamic: (?) -> void end ``` Right now if I try to format this it will raise ``undefined method...
Related to https://github.com/prettier/plugin-ruby/issues/1463
Affected line of code: ``` return new Promise((resolve, reject) => { const interval = setInterval(() => { if (fs.existsSync(filepath)) { const connectionJSON = fs.readFileSync(filepath).toString("utf-8"); resolve({ serverPID: server.pid, connectionFilepath: filepath, connectionOptions:...
When formatting Ruby code containing multibyte UTF-8 characters (emojis, Japanese characters, etc.), the plugin corrupts these characters if they happen to fall exactly at the 8192-byte (8KB) boundary in the...