dsarman / better-inline-fields

Obsidian plugin to enhance Dataview style inline fields
MIT License
53 stars 1 forks source link

suggestions not shown in some cases (inline fields with brackets) #5

Closed Rhydderch closed 1 year ago

Rhydderch commented 2 years ago

Hello, Thank you very much for the update that supports inline fields in between brackets.

I stumbled upon some bugs:

[inline:: start-typing] : if the brackets were already there, no suggestions are shown [ inline:: start-typing] : if I put a space before the field, then it works and suggestions are shown [inline:: start-typing : if there is no space before the field, but not closing bracket, then suggestions are shown

For me, the expected behavior would be that it works in the case [inline:: start-typing], otherwise it loses compatibility with other plugins.

dsarman commented 2 years ago

Hi, thanks for the report. As for the individual cases:

  1. [inline:: start-typing] should work. Here is a gif, am I doing something differently there? inline_bracketed_complete
  2. [ inline:: start-typing] that is a known bug that I will fix later. The impact is low and fixing would take more time than I have right now.
  3. [inline:: start-typing this is a feature, not a bug. I want to support the case where you start writing the inline field without the closing bracket, use the autocomplete, and only after that type out the closing bracket.