Giter VIP home page Giter VIP logo

atom-gitter's Introduction

Gitter chat

Gitter chat integration with Atom.io.


Install

Atom Package: https://atom.io/packages/gitter

apm install gitter

Or Settings/Preferences ➔ Packages ➔ Search for gitter

Then go to https://developer.gitter.im/apps and retrieve your Personal Access Token.
Enter your Token in the Package Settings. Go to Settings/Preferences ➔ Search for installed package gitter ➔ Enter your Token.

Features

Open Closed
Send Selected Code

Package Settings

  • Token - Your Gitter Personal Access Token.
  • Open On New Message - On receiving a new message, force open the messages panel.
  • Recent Messages At Top - Order of displaying the messages. If true, the most recent message will be at the top.
  • Display Snapshot Messages - After joining a group, display a snapshot of the previous messages.

Keyboard Shortcuts & Commands

By default, there are no existing keyboard shortcuts. See issue for discussion about default keyboard shortcuts.

To add your own custom keyboard shortcuts, go to AtomOpen Your Keymap.

  • gitter:toggle-compose-message - Toggle (open/close) the top panel to compose a new message.
  • gitter:send-selected-code - Send the currently selected source code over Gitter.
  • gitter:send-message - Send the current message in the compose panel.
  • gitter:open-messages - Open the Messages panel.
  • gitter:close-messages - Close the Messages panel.
  • gitter:restart - Restart Gitter, including logging in and joining the project room.
  • gitter:clear-messages - Clear all messages.
  • gitter:toggle-messages - Toggle (open/close) the bottom panel for displaying all messages.
  • gitter:switch-room - Open input for entering a new room URI to switch into.

See Keymaps In-Depth for more details.

Example

For example, this is @Glavin001's personal keymap.cson for Atom.

'.editor': # Available from Editor only
  'cmd-ctrl-c': 'gitter:send-selected-code'
'.workspace': # Available Globally
  'cmd-ctrl-x': 'gitter:toggle-compose-message'
  'cmd-ctrl-z': 'gitter:switch-room'
'.gitter.panel': # Available from within the Gitter compose message panel
  'cmd-ctrl-s': 'gitter:send-message'

atom-gitter's People

Contributors

glavin001 avatar wesleycoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atom-gitter's Issues

Configurable Logging

I have installed this atom package and while working on my own atom package noticed the logs being produced. It would be nice to be able to set the log level from the configuration so that I may turn the logs up or down as needed.

I recommend using winston. It allows for configurable logs and has query functionality so you may search through your logs.

Deprecated package

Greetings gentlemen,

Atom Version: 0.207.0
System: Windows 8 x64
Thrown From: gitter package, v0.6.2

Deprecated package

Open panel on Mention

  • If you are mentioned in a message, then force open the panel
  • Provide configuration option in settings

Cannot install plugin because of a problem with emojify

I'm just trying to install it and get an error message.

Atom Version: 0.188.0
System: Mac OS X 10.10.3
Thrown From: gitter package, v0.6.1

Stack Trace

Failed to load the gitter package

At ENOENT, no such file or directory '/Users/laughedelic/.atom/packages/gitter/node_modules/emojify.js/emojify.js'

Error: ENOENT, no such file or directory '/Users/laughedelic/.atom/packages/gitter/node_modules/emojify.js/emojify.js'
  at Error (native)
  at Object.fs.openSync (fs.js:503:18)
  at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20)
  at Object.fs.readFileSync (fs.js:355:15)
  at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:362:29)
  at module.exports (/Users/laughedelic/.atom/packages/gitter/lib/execFile.coffee:4:13)
  at /Users/laughedelic/.atom/packages/gitter/lib/emojify.coffee:7:3
  at Object.<anonymous> (/Users/laughedelic/.atom/packages/gitter/lib/emojify.coffee:3:18)
  at Object.<anonymous> (/Users/laughedelic/.atom/packages/gitter/lib/emojify.coffee:1:1)
  at Module._compile (module.js:475:26)
  at Object.requireCoffeeScript (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:370:32)
  at Function.Module._load (module.js:325:12)
  at Module.require (module.js:380:17)
  at require (module.js:399:17)
  at Object.<anonymous> (/Users/laughedelic/.atom/packages/gitter/lib/atom-gitter.coffee:9:11)
  at Object.<anonymous> (/Users/laughedelic/.atom/packages/gitter/lib/atom-gitter.coffee:1:1)
  at Module._compile (module.js:475:26)
  at Object.requireCoffeeScript (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:370:32)
  at Function.Module._load (module.js:325:12)
  at Module.require (module.js:380:17)
  at require (module.js:399:17)
  at Package.module.exports.Package.requireMainModule (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/package.js:678:34)
  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/package.js:189:28
  at Package.module.exports.Package.measure (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/package.js:167:15)
  at Package.module.exports.Package.load (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/package.js:181:12)
  at PackageManager.module.exports.PackageManager.loadPackage (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/package-manager.js:383:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/package-manager.js:460:30)
  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:268:29
  at exit (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:43:16)
  at BufferedProcess.triggerExitCallback (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/buffered-process.js:63:47)
  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/buffered-process.js:77:18
  at Socket.<anonymous> (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/buffered-process.js:150:18)
  at Socket.emit (events.js:138:20)
  at Pipe.close (net.js:477:12)

Auto-Join a Gitter room if not already in room

Currently atom-gitter requests all of the rooms the user has joined and then checks to see if one of those is the room we wish to join.

// Iterate over all rooms
          var room = _.find(rooms, function(room) {
            // Find REPO room with correct URI
            //console.log(room, uri);
            if (room.githubType === "REPO" && room.uri === uri) {
              return true;
            }
            else
            {
              return false;
            }
          });

https://developer.gitter.im/docs/rooms-resource

Instead, we should simply join the room with the given URI first.

Send selected code

User selects code then sends it to the current room. Easy!

  • Right-Click selected code
  • Keyboard shortcut

Falied to load the gitter package

  1. Install app in atom

Atom Version: 0.204.0
System: Mac OS X 10.10.3
Thrown From: gitter package, v0.6.2

Stack Trace

Failed to load the gitter package

At ENOENT: no such file or directory, open '/Users/jonathan.leitschuh/.atom/packages/gitter/node_modules/emojify.js/dist/js/emojify.js'

Error: ENOENT: no such file or directory, open '/Users/jonathan.leitschuh/.atom/packages/gitter/node_modules/emojify.js/dist/js/emojify.js'
    at Error (native)
    at Object.fs.openSync (fs.js:544:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20)
    at Object.fs.readFileSync (fs.js:396:15)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:369:29)
    at module.exports (/Users/jonathan.leitschuh/.atom/packages/gitter/lib/execFile.coffee:10:15)
    at /Users/jonathan.leitschuh/.atom/packages/gitter/lib/emojify.coffee:10:12
    at Object.<anonymous> (/Users/jonathan.leitschuh/.atom/packages/gitter/lib/emojify.coffee:11:5)
    at Object.<anonymous> (/Users/jonathan.leitschuh/.atom/packages/gitter/lib/emojify.coffee:13:4)
    at Module._compile (module.js:452:26)

Commands

Config

{
  "core": {}
}

Installed Packages

# User
angularjs, v0.3.0
editor-stats, v0.17.0
emmet, v2.3.10
gitter, v0.6.2
linter, v0.12.7
linter-jshint, v0.1.6
minimap, v4.10.0
tabs-to-spaces, v0.11.0

# Dev
No dev packages

Does not display messages after entering Token

I installed this package by starring the package and running apm stars --install. This worked successfully. I then attained my Gitter developer token and pasted it into the settings.

Initially I received a message stating I was logged in as dreid93, along with an error, though I have not been able to recreate the error. Upon reloading atom this package is displaying as a very small (non-resizable) pane across the bottom.

screen shot 2014-06-16 at 12 28 33 pm

error: Could not determine this project's repository room

I start atom in folder with project which is on github. In gitter message panel it prints: "Could not determine this project's repository room." it yellow color. I tried to switch the room but it displays me "Uncaught TypeError: Cannot read property 'uri' of null". Operating system: Ubuntu 64 bit.

Command Pallet short cut not working.

When atom-gitter is installed on Ubuntu 14.10 with atom version 0.152.0 the short cut ctrl-shift-P no longer works. The version of atom-gitter I have installed is 0.6.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.