
Hi everyone. I want to gauge interest in developing an Intellij plugin for Racket. I looked around and didn’t find one (there is a simple one for Scheme).
I currently use a mixture of greghendershott’s racket-mode for emacs (thanks!), and DrRacket (thanks!).
I’ve starting looking at making an Intellij plugin but was wondering if anybody else would be interested.

@aymano.osman id love it to exist ! however realistically ill have zero time to help out making it a reality :slightly_smiling_face: ive been using it as an excuse/motivation to get to grips properly with emacs

I did not know about the rebellion package. Thanks!

I use IntelliJ for Scala at work, and a little for Java and Haskell. IntelliJ+Racket sounds intriguing. Right now I use Emacs for Racket when I have to do rapid-fire changes I have confidence in, my Emacs-fu is strong because I’ve been using it for more than 35 years and it manages to keep up with many of the latest developments. In particular Emacs helps me with Racket because of dired-mode and macros and @greg’s racket-mode, all of which help to keep my workflow fast & productive. I use DrRacket when I start to get into thorny syntax or macro-expansions where the particular expert Racket features help keep me from going off the rails. I also love the arrows in DrRacket’s GUI. One thing I can think of right away where IntelliJ would help is the panel on the left that helps you pick different files: when you pick a file, IntelliJ automatically refreshes the tab for that file with whatever changes you’ve made in another editor, whereas in DrRacket I have to go to each open tab and Revert Changes manually, one of the small things that makes it more convenient to manage projects (changes to lots of files) in Emacs. I use Vim mode in IntelliJ because the mode is complete while IJ’s emacs mode is only partial. After a year of Vim emulation in IJ I’ve come to the conclusion, in my personal take of vi vs. emacs, that I’m definitely more productive in Emacs, I think it’s just built into my DNA at this point, even though I actually wrote tiny enhancements for AT&T vi back when I was in college in the late 1970s.

Where’s the manual for fixing links in ~/.racket
after upgrading Racket? My launchers are breaking after removing 7.4 and installing 7.5.

They still fail even after a fresh raco setup
on said packages.
/home/sage/.racket/7.4/bin/polyglot: line 8: /usr/bin/racket: No such file or di
rectory

One difference is that I previously used a UNIX style installation. This time it’s installed in my home directory. I updated my PATH
. Logging back in simply changes the error to the launcher not being found, so I can just add the .racket/7.5/bin
to PATH
. Am I forgetting anything?

@deactivateduser60718 Did you use /etc/paths.d/ ?

That directory doesn’t exist for me, so I’ll say no.

Just wondering if there’s a story behind the rebellion
package having that name.

Just came across this question on StackOverflow. An attempt to use the DrRacket debugger on a simple #lang sicp
program fails with this error: cannot bind from tainted syntax in: (quote #%kernel)
Is there anything the implementor of a language needs to in order for the debugger to work? https://stackoverflow.com/q/59754281/23567

I’ve fixed this debugger problem for v7.6.

Great news. I’ll tell him to upgrade.

Well, when v.76 is available…

@gknauth There sort of is, but mostly I picked it because it starts with r

:wink:

I need some help with git. I have fixed issue 33 in racket/math but have confused myself regarding Github.

First problem is to get my form soegaard/math
to match racket/math
.

Currently Github tells me that the branch master
of soegaard/math
is:
This branch is 1 commit ahead, 7 commits behind racket:master.

So I cloned soegaard/math
to my computer. Checked that the upstream
was set correctly: % git remote -v
origin git@github.com:soegaard/math.git (fetch)
origin git@github.com:soegaard/math.git (push)
upstream <https://github.com/racket/math.git> (fetch)
upstream <https://github.com/racket/math.git> (push)

Used git fetch
and then git push
to get commits from racket/math
to soegaard/math
.

But Github keeps saying

This branch is 1 commit ahead, 7 commits behind racket:master.


git merge
?

or git rebase
if you’re into more flat revision histories

Should I have used git merge
instead of git fetch
?

git fetch
updates your local repo (not working tree)

it’s generally git fetch
then git merge

Ah!

git pull
combines the steps, but I don’t like it because I like to have more fine grained control over my working tree.

Thanks. Now everything looks fine.

the way I deal with these problems is by using GitHub Desktop

might be worth a try depending on how you like to do things

Years ago I used a GUI from Github, but found out I liked the command line better.

The GUI now is probably better.

I have a student running Linux penguin 4.19 on an aarch64 chrome book and we’re wondering if we can install and run drracket on it.

The CLI is only as useful as your understanding of Git’s underlying model, which is a point for and against it. The GUIs help visualize it so you don’t have to know it that well. If you’re used to running the same commands like a recipe, then doing something different is going to come off as if the CLI is not a good fit.

What is “Linux penguin”? A distro? I tried to search Google and only found results related to the Linux mascot.