karan / atom-terminal

Atom package to open terminal on current file's directory with "ctrl-shift-t"
https://atom.io/packages/atom-terminal
MIT License
70 stars 30 forks source link

Command `ctrl+shift+t` doesn't work on atom start up #91

Open Eddy1028 opened 8 years ago

Eddy1028 commented 8 years ago

Environment: Operation System: Win7 atom-terminal version: 0.8.0

Steps to reproduce:

  1. Close atom (if it is already open);
  2. Restart atom;
  3. Click a file in one project;
  4. Press ctrl+shift+t.

Result: nothing happened.

Note: But, when after press alt+shift+t, then press ctrl+shift+t , it works.

Thanks!

cmoud94 commented 8 years ago

Same problem here.

Environment: OS: Linux Mint 18 (fully updated) Atom: 1.10.2 atom-terminal: 0.8.0

ctrl+shift+t won't work until I press alt+shift+t first, then it works just fine.

Also before I pres alt+shift+t, if I open Command Palette there is only the atom-terminal:open-project-root command, but not the atom-terminal:open. After I run atom-terminal:open-project-root or press alt+shift+t the command is available in Command Palette.

cmoud94 commented 8 years ago

I have probalby found a solution/workaround, at least for Linux. The problem is, that (on Linux) there is a shortcut ctrl+T which is colliding with atom-terminal's shortcut.

You can take a look at this screenshot: screenshot

So the solution would be to change atom-terminal's shortcut to something else.

Edit: Changing shortcut doesn't help, atom-terminal:open is still inaccessible until I run atom-terminal:open-project-root.

Zahariel1942 commented 8 years ago

I have same problem.

Environment: OS: Windows 7 Pro Atom: 1.11.2 atom-terminal: 0.8.0

Windspar commented 7 years ago

Fix in new version. 0.8.1.

on archlinux i did. version 0.8.0. goto package , atom-terminal , viewcode then select package.json file, line 40 add ("atom-terminal:open",) without braces. It work for me and left keybindings the same.

  "activationCommands": {
    "atom-workspace": [
      "atom-terminal:open",
      "atom-terminal:open-project-root"
    ]
  },
ghost commented 7 years ago

@DrakeMagi Could you please clarify? the snippet you provide is identical to current code

Windspar commented 7 years ago

It identical to current code version 0.8.1. but in version 0.8.0 he forgot to add "atom-terminal:open", . changes made in May 27, 2015 commit and merge June 2, 2015. but only problem with commit was surpressDirectoryArgument: default to false did not work for me. I kept mind true.

ghost commented 7 years ago

@DrakeMagi thank'you!

tech4him1 commented 7 years ago

Is v0.8.1 going to be released any time soon so this goes out to everybody?

maxsu commented 7 years ago

@tech4him1, @DrakeMagi 's fix worked for me

Between lines 40 and 41 of package.json, add: "atom-terminal:open",

It looks @karan has abandoned this project - nearly 2 years, no commits. @drelyn86 has forked the project and is ahead about 18 commits, but has similarly abandoned repo a year ago.

OTOH, @blueimp's 'open-terminal-here' seems lively, provides the same functionality as atom-terminal, also adds a very handy context menu item to the workspace and tree view. I've personally jumped ship for that package in the middle of writing this note, lol.

... And of course, you may always fork karan's project ;)

dylanpjx commented 5 years ago

If you are on WIndows like me and still looking for a fix, line 25 on package.json, add 'atom-terminal:open',

It should look like this:

"activationCommands": { 
    "atom-workspace": [ 
      "atom-terminal:open", 
      "atom-terminal:open-project-root"
    ]
  },