Alexander Popov

Results 331 comments of Alexander Popov

Hi! > In the new autocomplete-plus provider, we tried to make autocomplete and the editor agree on what constitutes a word boundary. I'm understanding, I'm not against that. I'm just...

> @AlexWayfer nothing has changed with the Symbol provider. It just doesn't seem to gather words from an untitled buffer for some reason. I verified that the scenario you depicted...

My case: ```ruby DB_DUMP_REGEXP = /^ #{db_config[:database]}_#{DB_DUMP_TIMESTAMP_REGEXP} #{Regexp.escape(DB_DUMP_EXTENSION)} $/xo ``` ![image](https://user-images.githubusercontent.com/6510020/32845687-6dd77560-ca36-11e7-8e26-095fa2be2d57.png)

> For example, suppose we wanted to define a getter called `current_template` to return the current template object. However, more than one template could participate in the generation of a...

> If you want to avoid using `to_run` (which I agree is ugly), you can create your own getter using [static](https://dazuma.github.io/toys/gems/toys-core/v0.10.3/Toys/DSL/Tool.html#static-instance_method). Seems non-working in my [`gem_toys`](https://github.com/AlexWayfer/gem_toys) project. IDK why exactly:...

OK, but `[2020-07-06 10:03:17 ANY]` is pretty ugly for me, although I know that this is standard (default). Can I change this format somehow?

> @AlexWayfer Question for you: would you prefer seeing _all_ log entries with a different simpler format, or _just_ the ones related to exec commands? What kind of logs are...

> Exec is the only standard mixin that makes heavy use of the logger. But any tool can log: > > ```ruby > tool "foo" do > def run >...

I've discovered a `:logger` option for `include` method. So, in the current version of `toys` I can do something like: ```ruby subtool_apply do unless include? :exec include :exec, exit_on_nonzero_status: true,...

To be honest, even #671 is still reproducible for me… after refresh a page without a cache.