this post was submitted on 02 Nov 2023
5 points (85.7% liked)

Pulsar

102 readers
2 users here now

Pulsar

The community led, hyper-hackable text editor

Rules

By posting here you also agree to adhere to our Code of Conduct by:

Useful Links

founded 1 year ago
MODERATORS
 

Hello! I was a big fan of Atom editor, and I'm very glad that Pulsar is continuing the legacy of Atom. My concern/question is, how in the heck do I install plugins? Specifically, plugins for python? And also, is there a terminal/space to run Python code like there is in VSCodium? In VSCodium, there's a play button and code runs automatically in the built in terminal. Any help is appreciated!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] sinewyshadow@lemmy.ml 1 points 1 year ago (1 children)

That's good to know. I thought it was based on vim, and I had to use special keyboard shortcuts to open things or run code.

[โ€“] Daeraxa@lemmy.ml 1 points 1 year ago (1 children)

Nah, Atom was basically custom from the ground up (in fact it was Atom that first used, for better or worse, the Electron framework which was written specifically for it) and we just forked Atom before it got sunset. There are a lot of keybdinds but generally any action that would require some kind of special command would be accessible from the command palette (ctrl/cmd + shift + p) which is searchable.

It is a little more like vim in terms of what you get "out of the box", you more or less just get a basic editor and language grammars, it is designed to be extensible to be kind of whatever you want it to be via packages which allows you to make it your own.

[โ€“] sinewyshadow@lemmy.ml 1 points 1 year ago (1 children)

Okay, so I'm really dumb. I downloaded Visual Studio, because a plugin in Pulsar required Clang, and now when I open Pulsar, it's still saying the plugin can't be installed, and then a window showing the installation pops up and I can't escape the window. It should be installing the plugin now that I have CLang installed, right? What am I doing wrong and how do I install the plugin so I don't get the popup anymore?

[โ€“] Daeraxa@lemmy.ml 1 points 1 year ago (1 children)

What package are you trying to install? Some packages do have native modules which is why you might need the visual studio tools. What window is popping up that you can't escape from?

[โ€“] sinewyshadow@lemmy.ml 1 points 1 year ago (1 children)

I'm trying to install Platformio IDE and it needs CLang to finish installation. It's an installation window that shows what components have been installed, there are four sections, but it keeps freezing on the Atom dependencies section. Maybe I just need to wait longer for it to install?

[โ€“] Daeraxa@lemmy.ml 1 points 1 year ago (1 children)

I think the platformio stuff hasn't been kept under active development for a long time now and I'm pretty sure the whole thing was archived on GitHub, it might need something like an older version of the tools or it might be broken entirely.

Unfortunately that will be something you might come across with Pulsar, some of the changes we have had to make to update our dependencies (and sometimes just changes in the later releases of Atom) have broken some packages and they just aren't maintained any more. We do try to keep track of these when found and mark them as such with special labels.

What features of platformio-ide were you after? There are almost certainly some alternatives.

[โ€“] sinewyshadow@lemmy.ml 1 points 1 year ago (1 children)

I wanted to use a built-in terminal. Like running python code and having it show up in the built-in terminal

[โ€“] Daeraxa@lemmy.ml 1 points 1 year ago (1 children)

So this is stuff we have been talking about a lot recently. At the moment the only terminal that I'm aware of that is 1) maintained and 2) working properly is x-terminal-reloaded which is maintained by one of the members of the core Pulsar team.

However I'm not aware of anything that will output to it. The various script runners I mentioned before will output to their own panels (atom-runner, script and script-runner). However another person on the team is currently developing a new script runner package that currently outputs to its own pane:

However we were talking about the possibility that it could maybe interface directly with x-terminal-reloaded to provide output directly in the terminal.

[โ€“] sinewyshadow@lemmy.ml 1 points 1 year ago

Yes! That's what I'm looking for. I'll download the x-terminal-reloaded plugin as well.