Giter VIP home page Giter VIP logo

atom-hg's People

Contributors

danielmachado avatar goodwine avatar mevatron avatar mrstebo avatar tomkempernl avatar victor-torres 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  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

atom-hg's Issues

Exclude VCS Ignored Paths

Created based on #33 (comment)

Seems that atom-hg doesn't pay attention to the Atom’s setting 'Exclude VCS Ignored Paths'. In other words, .hgingnore files are hidden regardless of whether 'Exclude VCS Ignored Paths' is checked or not.

isPathIgnored throwing exception

Keep getting this when I modify one project and then try to expand another project folder. Something seems to be setting cachedIgnoreStatuses to null?

atom-hg-indexof-is-null

Mercurial hg-utils Error: no such file in rev

Firstly thanks for this package!


I have a couple of not-added untracked files.

  • SomeProject is main Project Directory;
  • SomeProject/DIR/ is new & untracked folder;

Error log:

Mercurial hg-utils Error: ../Users/fzzr/Developer/Projects/SomeProject/DIR/foobar.js: no such file in rev 8a09e87cb36c(…)
Repository.handleHgError @ /Users/fzzr/.atom/packages/atom-hg/lib/hg-utils.coffee:268

Problem:

TreeView's UI get beak behaviour - I can't expand directory DIR in the tree.

screen shot 2016-04-03 at 21 31 38


The message no such file in rev isn't an error. It's about "this file is not added and untracked".

You need to call hg status for get status for all files including untracked/not-added.

Remove svn warnings

Some warnings were inherited from an SVN repository. They do not make sense to Mercurial.

Error on Startup

I am getting the following error when Atom starts.

Mercurial hg-utils TypeError: Cannot read property 'toString' of null
    at Repository.hgCommand (/Users/adam/.atom/packages/atom-hg/lib/hg-utils.coffee:248:35)
    at Repository.getHgVersion (/Users/adam/.atom/packages/atom-hg/lib/hg-utils.coffee:266:18)
    at Repository.checkBinaryAvailable (/Users/adam/.atom/packages/atom-hg/lib/hg-utils.coffee:64:17)
    at openRepository (/Users/adam/.atom/packages/atom-hg/lib/hg-utils.coffee:431:17)
    at Object.exports.open (/Users/adam/.atom/packages/atom-hg/lib/hg-utils.coffee:438:10)
    at new HgRepository (/Users/adam/.atom/packages/atom-hg/lib/hg-repository.coffee:34:21)
    at Function.module.exports.HgRepository.open (/Users/adam/.atom/packages/atom-hg/lib/hg-repository.coffee:26:11)
    at Object.repositoryForDirectorySync (/Users/adam/.atom/packages/atom-hg/lib/atom-hg.coffee:23:31)
    at Project.module.exports.Project.addPath (/Applications/Atom.app/Contents/Resources/app.asar/src/project.js:249:89)
    at Project.module.exports.Project.setPaths (/Applications/Atom.app/Contents/Resources/app.asar/src/project.js:213:14)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/project.js:356:19
    at Provider.module.exports.Provider.provide (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/provider.js:30:52)
    at ServiceHub.module.exports.ServiceHub.provide (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/service-hub.js:30:20)
    at Package.module.exports.Package.activateServices (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:350:71)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:184:16)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:155:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:148:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:145:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:526:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:507:29
    at Config.module.exports.Config.transactAsync (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:502:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:485:46)
    at AtomEnvironment.module.exports.AtomEnvironment.startEditorWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:688:21)
    at module.exports (/Applications/Atom.app/Contents/Resources/app.asar/src/initialize-application-window.js:28:10)
    at setupWindow (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:86:5)
    at window.onload (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:41:9)Repository.handleHgError @ hg-utils.coffee:259
/Users/adam/.atom/packages/ember-tabs/lib/ember-pods-project.coffee:17 [ember-tabs] Initiating pods project with root path /Users/adam/Development/labc/projects/labc-web/src/main/javascript

Allow "diffing" against specific revision or bookmark

In my particular use-case, it's more helpful if I can specify a bookmark (sometimes a revision) to diff against.
Maybe we could have this as a setting?

Why bookmarks?
I update a bookmark automatically every time I pull, so I can end up with last_pulled -> commit-1 -> commit-2, where diffing against last_pulled is more important to me than diffing commit-2 against commit-1.

Why revision
Alternatively I would be ok with diffing against "2 revisions ago" or i.e. -r .^^
This use-case is not that important to me though since bookmark work great me.

Ignored status not visible in the tree-view

The hg status {rootPath} command that is used to check the status returns only a subset of statuses by default, and it omits the I (ignore) status from its output.

files = @hgCommand(['status', @rootPath])

The status is handled by the code, but this code never triggers because of the above.

Please be aware though that the output of hg status {rootPath} --all which reports all the statuses may be quite large (e.g. the node_modules with a lot of files in it), so the handling should be somehow optimized / asynced to avoid blocking the UI.

Make HgUtils async

spawnSync blocks NodeJS and we can't have another process/thread running it such as a web worker... We have to refactor HgUtils class to use spawn or exec, the asynchronous version of this command. Basically we need to encapsulate some methods into promises and consume them with .then() in HgRepositoryAsync class.

Cannot track changes on multiple projects

I often use Add Project Folder so I can work on multiple folders. Unfortunately atom-hg only tracks the first hg repository.

I am about to start a pull request for the fix which should be ready shortly 😄

How do I use atom-hg ? A possible addition to the wiki please?

I have installed atom-hg using the package manager and went into my repository and did a atom . on the command line which opened my repository in atom. I made some changes to the code and saved it but that did not show anything. What am I missing here? I am new to development hence please forgive the noob questions.

status-bar throws error at startup after installing atom-hg

Atom 1.8.0
atom-hg 2.0.14
status-bar 1.2.3

Cannot read property 'onDidChangeStatus' of undefined
Hide Stack Trace
TypeError: Cannot read property 'onDidChangeStatus' of undefined
    at status-bar-git.GitView.subscribeToRepositories (/usr/share/atom/resources/app.asar/node_modules/status-bar/lib/git-view.js:99:52)
    at status-bar-git.GitView.initialize (/usr/share/atom/resources/app.asar/node_modules/status-bar/lib/git-view.js:34:12)
    at Object.module.exports.activate (/usr/share/atom/resources/app.asar/node_modules/status-bar/lib/main.js:67:16)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:183:20)
    at /usr/share/atom/resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)
    at /usr/share/atom/resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:538:21)
    at /usr/share/atom/resources/app.asar/src/package-manager.js:519:29
    at Config.module.exports.Config.transactAsync (/usr/share/atom/resources/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/usr/share/atom/resources/app.asar/src/package-manager.js:514:19)
    at PackageManager.module.exports.PackageManager.activate (/usr/share/atom/resources/app.asar/src/package-manager.js:497:46)
    at /usr/share/atom/resources/app.asar/src/atom-environment.js:754:28

Really long paths fail RefreshStatus on windows

A well known problem for node on windows is that modules deeeeply nest and windows has a maximum path length.

Here's an example of the error I got:
"node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\validate-npm-package-license\node_modules\spdx-expression-parse: The system cannot find the path specified
node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\validate-npm-package-license\node_modules\spdx-correct\node_modules: The system cannot find the path specified
node_modules\grunt-browserify\node_modules\watchify\node_modules\browserify\node_modules\crypto-browserify\node_modules\browserify-cipher\node_modules\browserify-des\node_modules\des.js\node_modules\minimalistic-assert: The system cannot find the path specified
node_modules\debowerify\node_modules\bower\node_modules\update-notifier\node_modules\latest-version\node_modules\package-json\node_modules\registry-url\node_modules\npmconf\node_modules\config-chain\node_modules\proto-list: The system cannot find the path specified

I'm hopeful there's a simple workaround somewhere.

Uncaught Error: ENOENT: no such file or directory, open '/path/to/project/.hg/branch

Thanks for creating this package! I really really needed a Mercurial package for Atom :)

Steps to reproduce

  1. Have tabs open
  2. Try to close all tabs
  3. On last tab close, error is thrown and tab is still opened

Info

Atom Version: 1.6.0
System: Linux Mint
Thrown From: atom-hg package, v0.0.7

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/path/to/project/.hg/branch'

At fs.js:549

Error: ENOENT: no such file or directory, open '/path/to/project/.hg/branch'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:137:20)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:385:29)
    at Repository.getShortHead (/home/richard/.atom/packages/atom-hg/lib/hg-utils.coffee:97:15)
    at HgRepository.module.exports.HgRepository.getShortHead (/home/richard/.atom/packages/atom-hg/lib/hg-repository.coffee:169:42)
    at status-bar-git.GitView.updateBranchText (/opt/atom/resources/app.asar/node_modules/status-bar/lib/git-view.js:179:37)
    at status-bar-git.GitView.update (/opt/atom/resources/app.asar/node_modules/status-bar/lib/git-view.js:170:12)
    at status-bar-git.GitView.subscribeToActiveItem (/opt/atom/resources/app.asar/node_modules/status-bar/lib/git-view.js:81:19)
    at /opt/atom/resources/app.asar/node_modules/status-bar/lib/git-view.js:24:24
    at Function.module.exports.Emitter.simpleDispatch (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /opt/atom/resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/opt/atom/resources/app.asar/src/pane.js:255:22)
    at Pane.module.exports.Pane.removeItem (/opt/atom/resources/app.asar/src/pane.js:463:16)
    at Pane.module.exports.Pane.destroyItem (/opt/atom/resources/app.asar/src/pane.js:532:16)
    at atom-tabs.TabBarView.onMouseDown (/opt/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:601:19)

Uncaught TypeError: Cannot read property 'indexOf' of null

Atom Version: 1.7.2
System: Mac OS X 10.11.4
Thrown From: atom-hg package, v2.0.3

Stack Trace

Uncaught TypeError: Cannot read property 'indexOf' of null

At /Users/adam/.atom/packages/atom-hg/lib/hg-repository.coffee:258

TypeError: Cannot read property 'indexOf' of null
    at HgRepository.module.exports.HgRepository.isPathIgnored (/Users/adam/.atom/packages/atom-hg/lib/hg-repository.coffee:258:49)
    at Directory.module.exports.Directory.updateStatus (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/directory.js:130:16)
    at new Directory (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/directory.js:52:12)
    at Directory.module.exports.Directory.getEntries (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/directory.js:263:30)
    at Directory.module.exports.Directory.reload (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/directory.js:321:20)
    at Directory.module.exports.Directory.expand (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/directory.js:365:12)
    at tree-view-directory.DirectoryView.expand (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/directory-view.js:177:24)
    at tree-view-directory.DirectoryView.toggleExpansion (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/directory-view.js:164:21)
    at TreeView.module.exports.TreeView.entryClicked (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/tree-view.js:470:15)
    at tree-view-directory.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-view/lib/tree-view.js:188:26)
    at space-pen-div.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at space-pen-div.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -1:12.8.0 application:new-file (ol.results-view.list-tree.focusable-panel.has-collapsable-children)
     -0:45.7.0 tabs:close-all-tabs (li.texteditor.tab.sortable.right-clicked)
     -0:44.3.0 fuzzy-finder:toggle-file-finder (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui.find-visible)
  4x -0:37.9.0 core:move-down (atom-text-editor.editor.mini.is-focused)
  6x -0:35.6.0 core:move-up (atom-text-editor.editor.mini.is-focused)
     -0:34.3.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:34.3.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:13.9.0 command-palette:toggle (atom-pane.pane.active)
  2x -0:11.5.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:09.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:09.0 settings-view:check-for-package-updates (atom-pane.pane.active)

Config

{
  "core": {}
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Not showing up in Ubuntu 19.04 - possible to expand the documentation?

Hi,

Using Ubuntu 19.04, tried opening Atom inside the repository, and my HG is accessible from terminal, but nothing is showing up anywhere.

I suppose it should appear in the status bar.

  1. Is there any additional configuration required for this to work? config.cson has atom-hg listed but no settings inside.
  2. Is it possible to at least show how it should look like once it's installed in the repo readme?

I'm sure I'm missing something, but now I don't even know what. :)

I hope this plugin is still supported. Thanks for your time!

Failed to activate the atom-hg package: e.getOriginURL is not a function

I have the same issue. I installed and reinstall but it does not works.

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Microsoft Windows 10 Pro
Thrown From: atom-hg package 2.0.14

Stack Trace

Failed to activate the atom-hg package

At e.getOriginURL is not a function

TypeError: e.getOriginURL is not a function
    at atom.project.observeRepositories.subscriptions.add.atom.project.observeRepositories.e (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:212429)
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1172318)
    at Emitter.emit (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1173759)
    at Project.addPath (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:410818)
    at Project.setPaths (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:409619)
    at e.consume.e (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:412718)
    at Provider.t.exports.Provider.provide (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1029640)
    at ServiceHub.t.exports.ServiceHub.provide (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3012661)
    at Package.activateServices (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3020847)
    at Package.activateNow (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3017902)
    at measure (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3017226)
    at Package.measure (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3014857)
    at activationPromise.activationPromise.Promise (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3017086)
    at new Promise (<anonymous>)
    at Package.activate (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3017029)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:382643)
    at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:899185
    at r (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:893791)
    at o (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1032547)
    at ChildProcess.n.process.on.e (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1032753)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

Commands

Non-Core Packages

atom-hg 2.0.14 
busy-signal 2.0.0 
chestnut-light-atom-syntax 0.2.1 
file-icons 2.1.27 
intentions 1.1.5 
language-cfml 0.23.0 
linter 2.2.0 
linter-cflint 0.15.0 
linter-ui-default 1.7.1 
minimap 4.29.9 
oceanic-next 1.0.0 

Originally posted by @albertcito in #47 (comment)

atom-hg causes Atom to freeze

I've been using this package for a while now, but after i've updated to the latest release (atom-hg 2.0.8) this morning it causes Atom to freeze and not respond for a couple of seconds when switching between applications. I temporarily disabled the package cause this is kind of annoying. Is it possible to look into this please?

Atom Version: 1.10.2
System: macOS Sierra (10.12)

Thx in advance

Working with symlink fail

Atom-hg does not work correctly when Mercurial repository opened in Atom as a symbolic link. This was reflected in #16 issue, but at that time I did not understand what the reason was.

atom-hg makes statusbar throw an error

when enabling atom-hg on the 1.9.0 beta it produces the following error on save (and other actions).

Atom Version: 1.9.0-beta1
System: Ubuntu 16.04.1
Thrown From: status-bar package, v1.4.0

Stack Trace

Uncaught TypeError: Cannot read property 'ahead' of null

At /usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:213

TypeError: Cannot read property 'ahead' of null
    at status-bar-git.GitView.updateAheadBehindCount (/usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:213:78)
    at status-bar-git.GitView.update (/usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:171:12)
    at status-bar-git.GitView.subscribeToActiveItem (/usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:81:19)
    at /usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:24:24
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom-beta/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom-beta/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/share/atom-beta/resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom-beta/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom-beta/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/usr/share/atom-beta/resources/app.asar/src/pane.js:284:22)
    at Pane.module.exports.Pane.activateItem (/usr/share/atom-beta/resources/app.asar/src/pane.js:433:21)
    at atom-tabs.TabBarView.onMouseDown (/usr/share/atom-beta/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:660:19)

Commands

  2x -0:32.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:31.7.0 editor:newline (atom-text-editor.editor.is-focused)
  5x -0:31.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:30.2.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:29.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:26.4.0 editor:newline (atom-text-editor.editor.is-focused)
  4x -0:26.2.0 core:save (atom-text-editor.editor.is-focused)
     -0:24.7.0 core:backspace (atom-text-editor.editor.is-focused)
  4x -0:24.7.0 core:save (atom-text-editor.editor.is-focused)
     -0:22.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:22 editor:newline (atom-text-editor.editor.is-focused)
  3x -0:21.7.0 core:save (atom-text-editor.editor.is-focused)
     -0:20.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:19.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:18.8.0 core:backspace (atom-text-editor.editor.is-focused)
  3x -0:18.4.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "activate-power-mode",
      "ctags-status"
    ],
    "ignoredNames": [
      "*.pyc"
    ],
    "openEmptyEditorOnStart": false,
    "projectHome": "~/projects",
    "themes": [
      "atom-material-ui",
      "github-2016-syntax"
    ]
  }
}

Installed Packages

# User
aesthetic-ui, v2.0.0 (inactive)
atom-beautify, v0.29.10 (active)
atom-github-2014-syntax, v1.6.0 (inactive)
atom-hg, v2.0.4 (active)
atom-material-syntax, v0.4.6 (inactive)
atom-material-syntax-dark, v0.2.5 (inactive)
atom-material-syntax-light, v0.4.5 (inactive)
atom-material-ui, v1.3.3 (active)
ava, vundefined (active)
base16-ocean-dark-spacegray, v0.12.0 (inactive)
base16-ocean-dark-syntax-theme, v0.1.9 (inactive)
clipboard-plus, v0.5.1 (active)
color-picker, v2.2.2 (active)
ctags-status, v1.3.5 (inactive)
emmet, v2.4.3 (active)
file-icons, v1.7.17 (active)
git-history, v3.2.0 (inactive)
git-log, v0.4.1 (active)
git-plus, v5.16.2 (inactive)
git-time-machine, v1.5.3 (inactive)
github-2016-syntax, v1.2.0 (active)
indent-guide-improved, v1.4.9 (active)
language-postcss, v1.2.3 (active)
language-restructuredtext, v1.0.0 (active)
linter, v1.11.14 (active)
linter-eslint, v7.2.4 (active)
linter-stylelint, v3.0.2 (active)
minimap, v4.24.7 (active)
minimap-pigments, v0.2.1 (active)
perfectionist, v1.0.1 (inactive)
pigments, v0.31.2 (active)
project-manager, v2.9.7 (active)
pulsing-cursor, v0.3.1 (active)
source-preview, v0.5.0 (inactive)
source-preview-postcss, v0.1.4 (inactive)
spacegray-dark-syntax, v0.2.0 (inactive)
spacegray-dark-ui, v0.12.0 (inactive)
stylefmt, v2.1.0 (inactive)
svg-preview, v0.7.4 (active)
sync-settings, v0.7.2 (active)
terminal-plus, v0.14.5 (active)
toggle-quotes, v1.0.0 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.51.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (inactive)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (inactive)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.0 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.0 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.38.1 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
find-and-replace, v0.198.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.64.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.0 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.0 (active)
styleguide, v0.46.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.98.0 (active)
timecop, v0.33.1 (active)
tree-view, v0.208.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.32.2 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.36.2 (active)
language-gfm, v0.86.0 (active)
language-git, v0.13.0 (active)
language-go, v0.42.0 (active)
language-html, v0.44.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.22.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.0 (active)
language-less, v0.29.3 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.0 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.68.5 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.52.0 (active)
language-shellscript, v0.22.3 (active)
language-source, v0.9.0 (active)
language-sql, v0.21.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.8 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Blocking window

I'm using Atom 1.6.0 on Windows 10 with files located on a network share and each time I task switch to the editor window the whole program freezes for 2 seconds on an average sized project. Not sure if there is anything that can be changed here (asynchronous processes?), but it's too slow to be actually usable.

Ignoring directories

Currently directories with only ignored files are showed as empty directories.
I'd prefer to hide them (just like the git-repo does).

Unfortunately, unlike Git, Mercurial doesn't track directory information, so where Git Status --ignored nicely shows 'the best stuff to hide', Hg Status -i will gladly show each and every file of your node_modules folder as ignored.

The simplest option would be to unify our status cache and mark directories:

  • with at least one ignored file or directory AND
  • only ignored files or directories
    as ignored directories. We're already fetching all that info, so shouldn't take too long.

The other option dovetails with the problem that hg stat -i is sloooow. We could try to just parse .hgignore and replicate the mercurial ignore-rules. I think 90% of that will be easy, and the remaining 10% will be a hellish collection of edge-cases. Maybe porting the ignore unit-tests from mercurial could work...

Unless people feel deeply about option 2, I'll get started on option 1, since we'll be able to reuse the resulting unit-tests for option 2. I definitely think we'll need to do option 2 someday, but I'd rather add the functionality first and focus on performance later.

Subrepo Support

Would it be possible to add subrepo support? Even just if they are identified by the .hgsub file. A search for detached repos would be even more awesome still.

Not Working With atom-project-manager

When opening folder with project-manager atom-hg doesn't work. It's missing from the status bar and none of the files or folders are coloured in tree-view. I use project-manager as it's a dependency for php-integrator which I use a lot at work. I'm not sure how to get the packages to work in harmony.

OS: Windows
Atom Version: 1.13.1

Conflict with GIT

after installing this atom-hg the default atom's git is not working anymore
not_working

Failed to activate the atom-hg package

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.3
Thrown From: atom-hg package 2.0.11

Stack Trace

Failed to activate the atom-hg package

At Unexpected end of JSON input

SyntaxError: Unexpected end of JSON input
    at Object.parse (native)
    at Object.activate (/packages/atom-hg/lib/atom-hg.coffee:6:21)
    at Package.module.exports.Package.activateNow (/app.asar/src/package.js:218:19)
    at /app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
    at /app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
    at /app.asar/src/package-manager.js:531:29
    at Config.module.exports.Config.transactAsync (/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/app.asar/src/package-manager.js:526:19)
    at PackageManager.module.exports.PackageManager.activate (/app.asar/src/package-manager.js:508:46)
    at /app.asar/src/atom-environment.js:812:28

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.