You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys! Chris from CodeDay here. I want to use this everyday when I'm coding (so does anyone else I talk to!)
I was wondering what you think would be required in order to get this to work in Github's Atom text editor. I've become quite fond of it and have moved away from Sublime. I'm really interested in building the Atom plugin if that's alright with you guys!
The text was updated successfully, but these errors were encountered:
Awesome! We're happy to have you on-board. The basic components of the system:
codini/codiniServer.py is the Sublime plugin written in Python--you'll probably need to implement a similar package in JS for Atom. It opens a UDP connection on port 8888 to 0.0.0.0 and sends the following data over UDP:
jsonData = {}
jsonData['syntax'] = view.scope_name(point) #Syntax programmer is using now
jsonData['word'] = word #Current word being typed
jsonData['firstLine'] = firstLine #I don't think this is necessary under the new design
Since the internal UDP program to bounce the json from python to node.js is slightly hacky, we're looking to move away from that once we figure out an alternative.
The node-utilising JS file at codini/broadcastServer/broadcastServer.js receives this JSON array and parses it then searches through the imported HTML, CSS, JS, and Python token files to get a list of code suggestions (a to-do item is to add more docsets and reformat our existing ones for convenience--the full documentation pages are hosted on a remote server which are loaded by the client in the webapp), then broadcasts them over a Websocket on 8080.
In short: Python [Sublime Text Plugin] -> (JSON over UDP) -> Node.js [parses documentation] -> (JSON over WS) -> All connected clients [Frontend (index.html, codini.zarv.tk)]
Hey guys! Chris from CodeDay here. I want to use this everyday when I'm coding (so does anyone else I talk to!)
I was wondering what you think would be required in order to get this to work in Github's Atom text editor. I've become quite fond of it and have moved away from Sublime. I'm really interested in building the Atom plugin if that's alright with you guys!
The text was updated successfully, but these errors were encountered: