vertexclique / tokamak

Fusion Reactor for Rust - Atom Rust IDE

Home Page:https://vertexclique.github.io/tokamak/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nothing works

msmakhlouf opened this issue · comments

After installing tokamak I try to build or run any of the commands nothing happens.

confirm -win10 x64, clean atom installation.

@msmakhlouf can you give more detailed info about your current system?

Linux Mint 18
X64
clean system install / atom install
atom 1.9.8
rust 1.10 from rustup

asus u32v, win10 x64 anniversary edition, clean (on the clean diskplace, with no 3-rd party packages) Atom editor v 1.98) , rust v1.10 was set with rustup....
on the tokamak installation....

  1. I see no visible attempts to install 3rd party packages (like toolbar, terminal or rust linter)
  2. On the editor restart got famous "Path must be string. Receive undefined" error

@dizergin when you try to open a project with containing tokamak.toml how it behaves...

hm... i CANNOT create a project with the such file (in the atom editor- the dialog is not invoked)

cargo new blabla
cd blabla
ECHO >> tokamak.toml
atom .

That is it actually. You can create such a file...

of course i can... but i SAW no reason for... just give me a couple of minutes for...
Update (It contains "����� �뢮�� ������ �� ��࠭ (ECHO) ����祭." :) "The echo mode was turned on"(in Russian) - I did EXACTLY what you want ). The atom (tokamak) changes nothing(in the file).

I tried that but it did not work

update tokamak to 0.31-nothing changes
REINSTALL tokamak - AFTER restarting and opening of a rust project folder -got messages of the dependencies installations... After it got bunch of errors...

Have same issue with rustup on fedora 24.

@vertexclique - So when I launched an existing cargo project with an empty tokamak file the tokamak interface loaded after but was able to build a rust file but not run it because of unsaved buffer. Most of tokamak actually worked in that window so used it to create a new cargo binary from tokamak interface in atom. when it opened the new project in a new atom window the tokamak interface was gone and the plugin became unresponsive to any options again. It also seemed to die on the original atom window that was opened from terminal. I tried opening the project created by tokamak from terminal and tokamaks interface and plugin seems to be working but its a bit annoying to have it die when creating a new cargo project from tokamak. From what has worked so far it looks really good, thanks for contributing this and let me know if there is any input you need to try and get this issue resolved.

I installed tokamak using apm install tokamak on OSX 10.11.6, but can't get it to work. The keyboard shortcuts mentioned in the site are of Windows and I tried every combination of option & command & shift but none of them seem to be working.
The README has absolutely no information on how to run commands. I don't see any command in the command palette in Atom when I search for tokamak. Usually, Atom packages list a few supported commands there. I mean the dialog accessed by Command + Shift + P

Is this just me? Did I miss something ?

@detj - It's not just you, if you create an empty tokamak.toml file in the root directory of your cargo project and then open your .rs file from terminal tokamak might start up for that session? It has for me on fedora but when creating a new project within tokamak it will crash and need to be opened from terminal again.

@mrmcq2u Any idea what the tokamak.toml file should contain. The larger question coming to my mind is why does tokamak needs a toml file? Its an Atom plugin, so shouldn't it have just commands to run for it to function. Maybe the commands are there, just not accessible.
Will have to dig into the source I guess to figure out.

@mrmcq2u Okay, so I got a sample tokamak.toml file from the README and yeah, things started to move at least. I closed the Atom window and did an atom . from the dir containing tokamak.toml file and was presented with some errors which makes sense.

screen shot 2016-08-18 at 1 15 51 pm

I guess I have to install a bunch of other stuff its complaining about. I don't have them installed.

Hello all;

TLDR; I am searching for contributors and maintainers to help with. Also want to implement a helper command line tool for Rust environment.

First for thanks using it to all. And thanks for all your feedbacks. I am the only one that is maintaining this and javascript is quite a b*tch for me...(for a low level guy). And you cannot do every tricks in javascript though IMHO. So I want to implement enhancements suggested in issues section as much as possible. This contextual hide functionality is suggested by a person in here => #43

So I want to continue this project as much as possible. Even I want to build a tool(helper) that helps Rust environment and projects. So if I build a command line tool, seems like we will solve most of the problems. If anyone wants to get involved for next leap I am greatly appreciate that person. Otherwise all the things are made as features are built in such a small time. There is no tests also which is VERY VERY BAD.

What's the easiest way for someone to get involved?

@detj - try editing the settings for tokamak to look using fully qualified name e.g for rustup - /home/detj/.cargo/bin/rustup , then when you have updated all of those open atom in root directory for cargo project again with atom . like you did before and things should more or less work hopefully.

@locks

  • Writing tests.
  • Starting to write plasma project. (which will be the helper)
  • Addressing the issues and fixing them with keeping plasma will do the whole work in background in the mind.

so i had the same problem: without a tokamak.toml, nothing worked, and after creating one, it said “undefined has no property save_buffers_before_run”.

i think tokamak should also work without a tokamak.toml or with an empty one, or at least offer to create one (instead of doing nothing when you hit a button)

Enabled global load by default in 0.3.2 version. I will document usage in wiki soon. Please update it for now.