Fork me on GitHub
#cursive
<
2021-10-07
>
Rachel Westmacott10:10:33

Minor issue: defs with names containing $ e.g. (defn fmt-$ [my-amount] ...) seem to not be visible to cursive. Perhaps a regex issue on the name?

onetom13:10:14

i think i've encountered that $ issue too, but im not 100% sure.

cfleming20:10:56

Interesting, I’ll check that out and see if I can reproduce it.

Rachel Westmacott10:10:27

Minor issue 2: Extend Selection (Ctrl+W by default I believe) is inconsistent in this case (thing "string"|) (where | is the caret). Compare this to the case where "string" is anything other than a string to see the inconsistency, e.g. a number, symbol or collection literal.

Rachel Westmacott10:10:53

Major issue: Cursive is great and more people should be using it.

cursive 3
onetom13:10:26

there is no space printed after reader tags in the cursive REPL pane. on a terminal REPL there is a space after reader tags. is it like that for others too? is that intentional? is there a configuration option somewhere which affects this?

#inst "2020"
=> #inst"2020-01-01T00:00:00.000-00:00"

@(def my-rmap (rmap my-data-map))
=> {:foo #rmap/rval??, :bar #rmap/rval??}

cfleming20:10:02

I don’t think it’s intentional, and I don’t think there’s a config flag for it. Does it affect anything or is it just an aesthetic issue?

onetom06:10:55

it's just a readability issue; hasn't interfered with anything else so far. i was just updating rmap docs, so i was copy-pasting from the REPL to a README and that's why it became a temporary annoyance.

helios13:10:29

@cfleming I'm seeing quite frequently some issues with IntelliJ/Cursive and rendering. I can't exactly tell you when the problem starts, but at some point i get some strange highlighting in forms. As i scroll through the document with my cursor, it looks like the font-weight changes. Only restarting the IDE seems to fix it. I can try to make a video to highlight the problem, but it's very unpredictable. Have you ever seen anything like it? I think this happens after the laptop has been sleeping / resuming activities a few time (FWIW, MBP 2019 16", using always the dedicated graphics card)

helios13:10:11

sent you a mail with the video

onetom14:10:08

I'm using Cursive on MacBook Pro (15-inch, 2017) for a few years and never experienced issues with font weight changing unexpectedly. I'm on macOS Big Sur 11.6 (20G165) at the moment, but used both release and EAP versions of intellij with earlier macOS versions too. I also used IntelliJ on external non-HiDPI and HiDPI screens; no issues. Font weight specifically (and even font style) can change depending some settings in your theme for highlighted parenthesis pairs, so that's something which can be unexpected while u r scrolling by changing your cursor position. I hope these statements might trigger some ideas, like looking for suspicious IntelliJ extensions or having some graphics related kernel extension (like SwitchResX) or screen sharing software or some unusual font, which triggers some edge cases in the font rendering engine.

onetom14:10:53

are you using the official JetBrains JDK or some generic, off the shelf one? because i've seen crazy behaviour on non-jetbrains patched JDKs.

cfleming20:10:44

@U0AD3JSHL I’ll reply over here so that others can see the conversation. Unfortunately I’ve never seen anything like that. Are you on the IntelliJ EAP? I’ve sometimes found the font rendering to be worse in the EAPs but it’s generally fixed in time for the release. I’d suggest filing a YouTrack issue at http://youtrack.jetbrains.com, JetBrains are usually pretty responsive over there.

cfleming20:10:13

And yes, definitely use the JetBrains JDK in case you’re not for some reason.

helios10:10:45

@U086D6TBN yeah i understand, there's something going on because restarting IntelliJ fixes this behavior. @cfleming yeah running on EAP, but this is not something new. It's occurring more often now

👍 1
cfleming10:10:37

@U0AD3JSHL Definitely time for a YouTrack issue then, I think.

👍 1
onetom05:10:17

once i've restored a macos installation from a time machine backup (iirc moved the setup from a macbook to an imac) and i've experienced very strange behaviours. certain shortcuts just didn't work. the font rendering was different too and i couldn't get into the bottom of it, so i've ended up reinstalling the system (which i hardly ever do...) just saying, to add to the list of oddities, which might lead to unique/rare experiences.

Colin P. Hill20:10:51

Does Cursive have any features to support transforming a :refer :all require into one that uses an alias? And if not, what’s the best way to submit a feature request? Would be a nice complement to the existing “Rename…” support for namespace aliases.

cfleming20:10:07

There’s an old issue here requesting the opposite, with a comment that both directions would be nice. I’m planning to do some work on general namespace manipulation soon. https://github.com/cursive-ide/cursive/issues/863

🙏 1