Giter Site home page Giter Site logo

atom-text-manipulation's People

Contributors

danielbayley avatar extesy avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

danielbayley nvh

atom-text-manipulation's Issues

Uncaught URIError: URI malformed

[Enter steps to reproduce below:]

  1. Type the text
    ?\u0026%26@=%()/,#$!*+:;
  2. Select the text
  3. Perform URL Decode

Atom Version: 1.4.0
System: Mac OS X 10.11.2
Thrown From: text-manipulation package, v0.6.0

Stack Trace

Uncaught URIError: URI malformed

At /Users/duppy/.atom/packages/text-manipulation/lib/text-manipulation.coffee:77

URIError: URI malformed
    at decodeURIComponent (native)
    at module.exports.decodeUrl (/Users/duppy/.atom/packages/text-manipulation/lib/text-manipulation.coffee:77:5)
    at Object.module.exports.convert (/Users/duppy/.atom/packages/text-manipulation/lib/text-manipulation.coffee:44:26)
    at atom-workspace.<anonymous> (/Users/duppy/.atom/packages/text-manipulation/lib/text-manipulation.coffee:19:77)
    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 CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    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

     -0:57.6.0 find-and-replace:show (atom-text-editor.editor.is-focused)
     -0:56.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:51.5.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:47.9.0 core:paste (atom-text-editor.editor.is-focused)
 24x -0:46.6.0 core:select-left (atom-text-editor.editor.is-focused)
     -0:42.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  6x -0:38.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:31.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:31.6.0 text-manipulation:url-decode (atom-text-editor.editor)

Config

{
  "core": {
    "openEmptyEditorOnStart": false,
    "disabledPackages": [
      "language-gfm",
      "language-gfm",
      "markdown-preview",
      "language-gfm",
      "language-gfm",
      "language-gfm",
      "language-gfm",
      "symbols-tree-view",
      "symbol-gen",
      "language-gfm",
      "language-gfm",
      "atom-ternjs",
      "language-gfm",
      "language-gfm",
      "language-gfm",
      "language-gfm",
      "language-gfm"
    ],
    "themes": [
      "atom-dark-ui",
      "Base16-Chalk-Dark"
    ]
  }
}

Installed Packages

# User
Base16-Chalk-Dark, v0.1.0
achievements, v0.9.0
bug-report, v0.7.1
epoch-converter, v0.1.0
git-diff-details, v0.21.0
language-clips, v0.2.2
language-markdown, v0.8.1
markdown-preview-plus, v2.2.2
markdown-preview-plus-opener, v0.2.0
minimap, v4.19.0
minimap-git-diff, v4.1.8
minimap-split-diff, v0.3.0
pretty-json, v0.4.1
text-manipulation, v0.6.0
wakatime, v5.0.2

# Dev
No dev packages

Failed to load the text-manipulation package

  1. Uninstall 0.188.0 (do not delete ~/.atom)
  2. Purge content of %LOCALAPPDATA%
  3. Install 0.188.0

Atom Version: 0.188.0
System: Microsoft Windows 7 Enterprise 64bit Service Pack 1
Thrown From: text-manipulation package, v0.4.0

Stack Trace

Failed to load the text-manipulation package

At Cannot find module 'string'

Error: Cannot find module 'string'
    at Module._resolveFilename (module.js:351:15)
    at Function.Module._resolveFilename (C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\src\module-cache.js:383:52)
    at Function.Module._load (module.js:293:25)
    at Module.require (module.js:380:17)
    at require (module.js:399:17)
    at Object.<anonymous> (C:\Users\denny.trebbin\.atom\packages\text-manipulation\lib\text-manipulation.coffee:14:12)
    at Object.<anonymous> (C:\Users\denny.trebbin\.atom\packages\text-manipulation\lib\text-manipulation.coffee:320:4)
    at Module._compile (module.js:475:26)
    at Object.requireCoffeeScript (C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\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 (C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\src\package.js:678:34)
    at C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\src\package.js:189:28
    at Package.module.exports.Package.measure (C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\src\package.js:167:15)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "symbols-view",
      "linter-flow"
    ],
    "themes": [
      "one-light-ui",
      "oceanic-next"
    ]
  }
}

Installed Packages

# User
atom-color-highlight, v3.0.8
atom-ctags, v2.6.1
atom-ternjs, v0.5.6
autocomplete-bibtex, v0.5.6
autocomplete-paths, v1.0.2
autocomplete-plus, v2.6.0
git-tab-status, v1.6.0
highlight-column, v0.4.0
highlight-line, v0.10.1
highlight-selected, v0.9.1
linter, v0.12.0
linter-coffeelint, v0.2.0
linter-csslint, v0.0.11
linter-eslint, v0.5.0
oceanic-next, v0.1.1
preview-plus, v1.1.19
project-manager, v1.15.5
project-palette-finder, v2.4.16
save-session, vundefined
text-manipulation, v0.4.0

# Dev
No dev packages

Cannot remove blank lines

Remove blank lines on
windows 7 os 64bit
version 1.0.11
not functioning. The earlier version works very well.

Uncaught TypeError: Cannot read property 'getSelections' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.17.0-beta4 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: text-manipulation package 0.6.0

Stack Trace

Uncaught TypeError: Cannot read property 'getSelections' of undefined

At /Users/stellar/.atom/packages/text-manipulation/lib/text-manipulation.coffee:39

TypeError: Cannot read property 'getSelections' of undefined
    at Object.convert (/packages/text-manipulation/lib/text-manipulation.coffee:39:24)
    at /packages/text-manipulation/lib/text-manipulation.coffee:24:82)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:265:1)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:3:1
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:1)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:1)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:100:1)
    at HTMLDocument.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:3:1)

Commands

     -1:14.3.0 core:close (input.hidden-input)
  2x -1:11.7.0 core:backspace (input.hidden-input)
     -1:11 core:save (input.hidden-input)
     -1:04.0 core:backspace (input.hidden-input)
     -1:02.8.0 core:save (input.hidden-input)
     -1:01.4.0 core:close (input.hidden-input)
     -0:26.5.0 tree-view:move (linter-decoration.linter-warning)
  2x -0:24.8.0 text-manipulation:format-camelize (input.hidden-input)
     -0:18.1.0 core:backspace (input.hidden-input)
     -0:17.4.0 core:confirm (input.hidden-input)
     -0:14.2.0 intentions:highlight (input.hidden-input)
     -0:14.1.0 text-manipulation:format-camelize (input.hidden-input)
     -0:13.3.0 core:save (input.hidden-input)
     -0:11.8.0 core:undo (input.hidden-input)
     -0:09.2.0 core:backspace (input.hidden-input)
     -0:08.4.0 core:save (input.hidden-input)

Non-Core Packages

busy-signal 1.4.1 
intentions 1.1.2 
linter 2.1.4 
linter-eslint 8.1.7 
linter-ui-default 1.3.0 
text-manipulation 0.6.0 
text-pastry 0.6.1 

add Text Manipulation: Upper Underscore

I have a need to convert many strings from "this format" to "THIS_FORMAT" for creating internalization keys. I would like to see this added to the package. Let me know if you would accept a pull request.

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.