GithubHelp home page GithubHelp logo

atom-expose's People

Contributors

abe33 avatar jerone avatar mrodalgaard avatar piascikj avatar wvffle 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

atom-expose's Issues

More than ~15 tabs overflows the screen

I see that with more than three rows (5 columns wide) that the 4th and subsequent rows start to be forced off the bottom of the page. It would be good to make the default view scrollable maybe (or allow the thumbnails to become gradually smaller, though scrolling I guess would be better if it does slow things down so much).

Close & config button barely visible

Create package! One issue, the close and config buttons are barely visible. I'm guessing this is a theme issue. I'm using the default "One Light" theme.

2015-06-28 14_55_47-program manager

Make the minimap view shown match minimap

The minimap view I'm getting on expose seems to be a lot narrower than the view shown by the minimap itself for each file (which is much more representative of how the file content looks). Is something squashing the width of the minimap when shown on the tabs? It'd be really nice if the view could fill the tab as it does in the file.

Minimap view on tabs:
expose_minimap_image

Minimap view in file:
expose_minimap_actual

Close on core:cancel

It would be nice if the expose view would close when the core:cancel command is triggered. I'm quite used to using the escape key to close stuff in Atom. Other than that, amazing work! :)

Does not strip filename

Almost all my files has more than 20 symbols. So expose strip them and make this module almost unusable for me. Is it can be fixed?

Black code in minimap thumbnail

Hello. I just activated your package, it's great by the way!

However, seeing black text in thumbnails, screenshot below. Why is that?

Screenshot

Mac OS X: 10.11.6
Atom: 1.13.0 x64

$ apm --version
apm  1.14.1
npm  3.10.5
node 4.4.5
python 2.7.13
git 2.10.1
$ apm list --installed
Community Packages (26) /Users/rolle/.atom/packages
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

Feature request: Sections via providedServices

Hello there,
I really like your package.

I would also like to have other things than tabs in the exposé like open windows or projects.

It would be really easy to implement if there were listeners to add sections to the exposé.

For instance, you could do create a package with something like this:

function consumeEpose({ registerSection, unregisterSection, update, exposeHide }) {
  function resolveMyTabs() {
    return [
      {
        headerIcon: 'icon class name',
        color: '#ff9900', // Border color
        title: 'tab title',
        closeTab: () => { /* this closes the tab */ } || undefined, // undefined removes the close icon
        contentIcon: 'icon class name', // tabBody's content like in drawFallback()
        activateTab: () => { /* this activates the tab */ }
      },
      [...]
    ];
  }

  // Add section
  registerSection('key', resolveMyTabs);

  // Remove section
  unregisterSection('key');
}

Here is an example of how it could look:
image

I would love to make a PR if you would like to.

Don't stretch smaller images

When images are smaller then the tile width/height, don't stretch the image by blowing it up:
atom-expose
The GreaseMonkey image above is 16 pixels width and height (see blur).

I solved it partly by changing the following code:

.expose-view .tab-list .tab .tab-body img {
-  height: 100%;
+  max-height: 100%;
}

Atom 1.0.19
Expose 0.7.0

Remove the fancy blur

It might be great if you add an option to remove the blur and replace it with something like dark transparency or have a SETTING for that.

Uncaught TypeError: minimap.setCharWidth is not a function

Upon launching Expose using cmd+shift+e, I get an error:

Atom Version: 1.5.3
System: Mac OS X 10.11.3
Thrown From: expose package, v0.11.1

Stack Trace

Uncaught TypeError: minimap.setCharWidth is not a function

At /Users/Foo/.atom/packages/expose/lib/expose-tab-view.coffee:73

TypeError: minimap.setCharWidth is not a function
    at /Users/Foo/.atom/packages/expose/lib/expose-tab-view.coffee:73:17
    at Provider.module.exports.Provider.provide (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/provider.js:30:52)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/service-hub.js:55:26
    at doNTCallback0 (node.js:419:9)
    at process._tickCallback (node.js:348:13)

Commands

     -1:25.7.0 core:save (atom-text-editor.editor.is-focused)
     -1:23.7.0 emmet:toggle-comment (atom-text-editor.editor.is-focused)
     -1:23.7.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -1:23.6.0 core:save (atom-text-editor.editor.is-focused)
     -1:21.6.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -1:21 core:save (atom-text-editor.editor.is-focused)
  3x -1:05.1.0 core:undo (atom-text-editor.editor.is-focused)
     -1:02.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:02.5.0 core:save (atom-text-editor.editor.is-focused)
  3x -0:59 core:close (atom-text-editor.editor.is-focused)
     -0:51.9.0 find-and-replace:show (atom-text-editor.editor.is-focused)
     -0:49.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:31.9.0 expose:toggle (atom-text-editor.editor.is-focused)
     -0:26.1.0 core:close (atom-text-editor.editor.is-focused)
     -0:17.8.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)
  2x -0:16.8.0 expose:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "wrap-guide",
      "activate-power-mode",
      "nitrogen",
      "imdone-atom-github",
      "live-archive"
    ],
    "followSymlinks": false,
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store",
      ".unison",
      ".hg",
      "CVS",
      ".AppleDouble",
      ".LSOverride",
      ".Spotlight-V100",
      ".Trashes",
      "Thumbs.db",
      "desktop.ini",
      "*.lock",
      "*.sock",
      "*.pid",
      "*.sw?",
      ".unison*",
      "._*",
      "*~"
    ],
    "themes": [
      "seti-ui",
      "seti-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.28.16
clipboard-history, v0.6.6
color-picker, v2.0.13
docblockr, v0.7.3
emmet, v2.3.13
expose, v0.11.1
linter, v1.10.0
linter-php, v1.0.5
minimap, v4.15.0
minimap-split-diff, v0.2.0
pigments, v0.18.0
project-manager, v2.6.5
remote-edit, v1.8.22
seti-syntax, v0.4.1
seti-ui, v0.8.1
wordpress-api, v1.2.1

# Dev
No dev packages

enlarge tab preview size

Is it possible to enlarge the tab preview size? On my system, I have tabs of size 210 x 174 pixels, which is rather small for my 1920 x 1080. I tried searching on the source code but I can't find where these sizes are defined.

Failed to load the expose package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.0
System: Unknown Windows Version
Thrown From: expose package, v0.11.1

Stack Trace

Failed to load the expose package

At UNKNOWN: unknown error, open 'C:\Users\pablof\.atom\compile-cache\less\40e22529c8729b65e1d700a7ae3f73d57ed1288f\content\8fef58e2678e0ca48afad640ad68af9b9ab53a15\themes.json'

Error: UNKNOWN: unknown error, open 'C:\Users\pablof\.atom\compile-cache\less\40e22529c8729b65e1d700a7ae3f73d57ed1288f\content\8fef58e2678e0ca48afad640ad68af9b9ab53a15\themes.json'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:159:20)
    at Object.fs.writeFileSync (fs.js:1234:33)
    at Object.fsPlus.writeFileSync (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\fs-plus\lib\fs-plus.js:279:17)
    at LessCache.module.exports.LessCache.writeJson (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\less-cache\lib\less-cache.js:155:17)
    at LessCache.module.exports.LessCache.putCachedCss (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\less-cache\lib\less-cache.js:238:12)
    at LessCache.module.exports.LessCache.cssForFile (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\less-cache\lib\less-cache.js:287:12)
    at LessCompileCache.module.exports.LessCompileCache.cssForFile (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\less-compile-cache.js:40:25)
    at ThemeManager.module.exports.ThemeManager.loadLessStylesheet (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\theme-manager.js:279:33)
    at ThemeManager.module.exports.ThemeManager.loadStylesheet (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\theme-manager.js:257:21)
    at C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:435:54
    at Array.map (native)
    at Package.module.exports.Package.loadStylesheets (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:433:59)
    at C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:112:19
    at Package.module.exports.Package.measure (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:92:15)
    at Package.module.exports.Package.load (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package-manager.js:457:14)
    at C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package-manager.js:402:19
    at Config.module.exports.Config.transact (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\config.js:312:16)
    at PackageManager.module.exports.PackageManager.loadPackages (C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package-manager.js:397:19)
    at C:\Users\pablof\AppData\Local\atom\app-1.7.0\resources\app.asar\src\atom-environment.js:743:28

Commands

Config

{
  "core": {
    "disabledPackages": [
      "language-java",
      "spell-check"
    ]
  }
}

Installed Packages

# User
auto-encoding, v0.5.3
auto-indent, v0.5.0
autocomplete-php, v0.3.7
less-than-slash, v0.13.0
local-history, v3.2.3
minimap, v4.21.0
node-debugger, v1.4.6
php-cs-fixer, v2.5.6
php-debug, v0.2.2
php-getters-setters, v0.5.5
php-integrator-navigation, v0.5.0
Remote-FTP, v0.7.20
space-tab, v0.4.2

# Dev
No dev packages

Search Bar On Expose View?

Would it be possible to have a search bar on the expose view? Sometimes I have a tonne of tabs open and it would be wonderful to be able to just start typing away if I know the tab name 😄 Rather than looking over the numerous boxes.

Preferably a search bar that has auto focus so you can start typing right away?

Changes required for upcoming CoffeeScript upgrade

Hi! Thanks for maintaining the expose package!

In Atom v1.12, we are going to upgrade CoffeeScript to the latest version. This upgrade entails one potentially breaking change to the language:

Changed strategy for the generation of internal compiler variable names. Note that this means that @example function parameters are no longer available as naked example variables within the function body.

We think your package may be affected by this upgrade, in the following places:

  • The visible variable here
  • The visible variable here

These findings are based on linting packages with coffeescope. We could be wrong about some of them. When we release v1.12 beta, please test your package against it to make sure that it works. Let me know if you have any further questions; I will be happy to help!

Uncaught TypeError: item.getLongTitle is not a function

[Enter steps to reproduce below:]

  1. cmd+shift+e
  2. ...

Atom Version: 1.3.2
System: Mac OS X 10.10.5
Thrown From: expose package, v0.11.0

Stack Trace

Uncaught TypeError: item.getLongTitle is not a function

At /Users/NAFAIR/.atom/packages/expose/lib/expose-tab-view.coffee:108

TypeError: item.getLongTitle is not a function
    at ExposeView.module.exports.ExposeView.getItemTitle (/Users/NAFAIR/.atom/packages/expose/lib/expose-tab-view.coffee:108:20)
    at new ExposeView (/Users/NAFAIR/.atom/packages/expose/lib/expose-tab-view.coffee:14:21)
    at ExposeView.module.exports.ExposeView.update (/Users/NAFAIR/.atom/packages/expose/lib/expose-view.coffee:100:29)
    at ExposeView.module.exports.ExposeView.didChangeVisible (/Users/NAFAIR/.atom/packages/expose/lib/expose-view.coffee:81:8)
    at /Users/NAFAIR/.atom/packages/expose/lib/expose.coffee:21:19
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
    at Panel.module.exports.Panel.show (/Applications/Atom.app/Contents/Resources/app.asar/src/panel.js:77:29)
    at Object.module.exports.Expose.toggle (/Users/NAFAIR/.atom/packages/expose/lib/expose.coffee:43:19)
    at atom-workspace.disposables.add.atom.commands.add.expose:toggle (/Users/NAFAIR/.atom/packages/expose/lib/expose.coffee:32:28)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -5:18.6.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -5:16.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  4x -4:44.2.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -4:43.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -4:43.1.0 settings-view:view-installed-packages (atom-text-editor.editor)
  2x -4:07.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  4x -1:59.5.0 pane:show-next-item (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-nucleus-dark-ui.clean2-show-tabs)
  4x -1:57.4.0 pane:show-previous-item (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-nucleus-dark-ui.clean2-show-tabs)
     -0:44.5.0 editor:outdent-selected-rows (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-nucleus-dark-ui.clean2-show-tabs)
  3x -0:40.8.0 pane:show-item-5 (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-nucleus-dark-ui.clean2-show-tabs)
  3x -0:37.9.0 editor:outdent-selected-rows (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-nucleus-dark-ui.clean2-show-tabs)
  3x -0:36.4.0 editor:indent-selected-rows (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-nucleus-dark-ui.clean2-show-tabs)
     -0:30.9.0 core:move-up (atom-text-editor.editor.is-focused)
  2x -0:28.9.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:26.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:02.2.0 expose:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "nucleus-dark-ui",
      "base16-tomorrow-dark-theme"
    ],
    "disabledPackages": [
      "linter-sass-lint",
      "terminal-plus"
    ]
  }
}

Installed Packages

# User
Clean2, v0.16.0
Zen, v0.16.3
atom-html-preview, v0.1.13
atom-ternjs, v0.12.1
autocomplete-go, v0.1.1
autocomplete-html-entities, v0.1.0
autocomplete-paths, v1.0.2
autocomplete-project-paths, v2.2.0
autocomplete-sass, v0.1.0
browser-plus, v0.0.54
color-picker, v2.0.14
compass, v0.9.1
emmet, v2.3.17
environment, v1.1.1
expose, v0.11.0
go-config, v0.3.1
goto, v1.7.1
jQuery, v1.2.1
jquery-snippets, v11.0.0
linter, v1.11.3
minimap, v4.19.0
nucleus-dark-ui, v0.7.3
pigments, v0.19.5
symbol-gen, v1.0.0

# Dev
No dev packages

File-icons

I have installed file-icons but i don't see icons in expose. :(

Page scrolls when I scroll on a tile

When I hover the active tile and scroll with my mouse, the page scrolls too. I'm not sure if this a (hidden) feature or a bug. If page scrolling should happen, it would be nice if Minimap scrolls with, otherwise scrolling isn't that useful.

Atom 1.0.19
Expose 0.7.0

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.