Rene Saarsoo

Results 487 comments of Rene Saarsoo

Thanks for the clarification. Looks like my mental model of refs has been terribly distorted. I guess my confusion stems from `useEffect()` running after an initial render. And after that...

Yep. It was me :) On Sun, Jan 12, 2025, 01:46 Brian Zinn ***@***.***> wrote: > I think it was you that had asked in the forum the same question....

Yep. Tested it. It does work. I first tried something like: ```tsx ``` But that resulted in the same behavior as before. It seems that it's crucial to set the...

I figured out the cause. I had not installed any of the vitest dom environments. After installing `happy-dom` the test started to work. So feel free to close this issue....

Thanks for reporting. I should point out that the formatter doesn't really support procedural SQL. Even when I do fix the crash, the formatted output will likely be pretty ugly.

Well.. that wouldn't really help when the formatter crashes... The root of the problem in here is that SQL Formatter only recognizes CASE-expressions, not CASE-statements. And within a CASE-expression it...

As a user I really would just expect to be able to write ``. Having to write `` would be really confusing. Though I might be misunderstanding what you're saying....

I'm not fully sure I understand this issue. What makes these PL/SQL files not classified as SQL files? Could you please describe how one could reproduce the problem you're having...

Thanks for the clarification. There's more of a hope now that I'll manage to do something about it.

Thanks for the suggestion. This is definitely an area where SQL Formatter lacks (among many things). However, even when this feature gets implemented in SQL Formatter, it will likely never...