atom-editor

How do Atom's 'spec' files work?

北战南征 提交于 2019-12-24 16:06:57
问题 I'm making a package for Atom, and Travis CI keeps telling me my build failed. Update : I created a blank spec file and now my builds are passing. You can see my package here: https://travis-ci.org/frayment/language-jazz The console is telling me: sh: line 105: ./spec: No such file or directory Missing spec folder! Please consider adding a test suite in I went looking around at Atom packages on GitHub for 'spec' files and they seem to be CoffeeScript based, but I can't understand what on

How to set the proper connection parameters to connect a SQL Server database in Atom Editor using Data-Atom package?

匆匆过客 提交于 2019-12-24 02:56:08
问题 I'm trying to use Data-Atom package in the Atom Editor to connect to a SQL Server 2012 database. I can connect to the database with SQL Server Managment Studio using Windows Authentication or SQL Server Authentication . How the data-atom-connections.cson file should be using these two authentication methods? My data-atom-connections.cson file looks like this: [ { name: "WindowsAuthentication" protocol: "sqlserver" user: "username" password: "password" server: "apphost/Username" database:

How to avoid spaces when wrapping markup across multiple lines

…衆ロ難τιáo~ 提交于 2019-12-24 01:25:12
问题 friends. I'm using atom to write html codes. Every time I input the word "p", it can generate 3-line codes automatically: <p> </p> now I give a inline class to put two p elements in one line: .inline { display:inline-block; } <p class="inline"> Hi, friend </p> <p class="inline"> s </p> I want it shows "Hi, friends" in browser, but it shows "Hi, friend s" with a space between "friend" and "s". I know the problem is that html treats a line-break as a space.So if I write the code as <p class=

Editing Docker container FS using Atom/Sublime-Text?

两盒软妹~` 提交于 2019-12-23 22:07:04
问题 I'm running OSX and Docker with the help of boot2docker. From my understanding boot2docker is a lightweight linux distro that is running the docker containers. I have some Ubuntu containers that I use to run and test projects that should specifically run well on Linux. However every small code change from my host text editor of choice, requires me to re-build image and re-run the container. Run the app and confirm that the change I made didn't break something. Is there a way for me to open a

Why can I load a module in GHCi, while Atom can't find it?

我的梦境 提交于 2019-12-23 17:56:32
问题 I'm using Haskell with Stack and Atom on Windows 10. Sometimes, I like to just write a stand-alone .hs file to play around with various things. When I do that, I prefer to interact with it using GHCi. Usually, I start it from Git Bash: $ stack ghci --color never From here, I can add modules: Prelude> :m +Data.Vector.Unboxed Prelude Data.Vector.Unboxed> In Atom, however, I'm having trouble with that particular package: Open Atom Create a new .hs file Add this following content to it and hit

atom how to change default syntax highlighting for .js files to language-babel

。_饼干妹妹 提交于 2019-12-23 13:19:06
问题 It's all in the title.. suddenly atom no longer defaults to language-babel for .js files and I'm not sure how to get back to the previous behaviour. update - current config.cson: "*": core: telemetryConsent: "no" editor: fontFamily: "Operator Mono Lig" "exception-reporting": userId: "a8f4cc72-fe9c-4093-b562-fcb344219d50" "language-dotenv": dotenvFileNames: [ ".env" ".env.schema" ] "linter-eslint": {} "linter-ui-default": {} "prettier-atom": formatOnSaveOptions: enabled: true

pip installed pylint cannot be found

五迷三道 提交于 2019-12-23 09:49:43
问题 There's a lot of questions around this, so it might be a duplicate, but I can't find a solution, so here goes.. I want to use pylint with atom. If I use the recommended pip install --user pylint it seems to work but atom can't find and neither can I; which pylint and whereis pylint return nothing. The same thing goes if I use pip3 . If I go against wisdom and use sudo pip install pylint it is found but now I get a different error with atom: unable to determine environment . Any suggestions?

Stacking of Context Menus in Electron

风流意气都作罢 提交于 2019-12-23 07:27:38
问题 I am building an Electron based application that contains a grid containing unique rows. I would like a context-menu that is specific to each row. Here is an example: Although this screen shot is cropped, you can see there are multiple rows and each row contains separate data. Since I'd like to right-click on a row and get a unique context menu, I have implemented electron-context-menu, which does work on the first right click, but then subsequent right-clicks causes a stacking effect of

Hide tabs when opening a new one if you haven't change anything

廉价感情. 提交于 2019-12-22 10:39:19
问题 I am using Atom for first time. Sublime has a great functionality which consists in: You open a file, you just see the content and don't change anything. Then when you open a new file, as you haven't change anything in the last one, then the new file will take the place of the last one. Did you get it ? is there a way to do that with Atom ? 回答1: This is implemented as "Preview Tabs" in the bundled "tabs" package in Atom. Go to Settings > Packages > search for "tabs" > click its "Settings"

jquery js and jquery mobile js not working

ⅰ亾dé卋堺 提交于 2019-12-22 09:15:03
问题 hi guys i really need helppp!! i am using phonegap with atom editor and My jquery and jquery mobile is not working. All .js file are in a folder named js and the root are properly link. I have try the online code.jquery.com version and it still doesnt work. These are the 2 version i tried. Version 1 `<link rel="styleheet" type="text/css" href="css/jquery.mobile- 1.4.5.min.css"> <link rel="styleheet" type="text/css" href="css/jquery.mobile-1.4.5.css"> <link rel="stylesheet" type="text/css"