Giter VIP home page Giter VIP logo

click-link's People

Contributors

patrick96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

click-link's Issues

Line wrapping messes up click

I'm using Atom 1.22.1 x64.

Line wrapping in the editor breaks the functionality of click-link.

If I move the text so it doesn't wrap then the ctrl+click works.

double-cursor

The CTRL-click creates a double-cursor (document wise) if the mouse-click isn't pointed directly over the document cursor. This can be rid of by another mouse-click anywhere in the said document.
click-link-double-cursor

Its not working

I tried pressing Ctrl and Mouse left click, nothing happens, seems like it will not work if multi select is enable and that's very important plugin as well

Doesn't work properly with wrapped text

If a link is wrapped, only the line that was clicked on will be opened as a link, rather than the entire link.

Running Atom 1.58.0 on macOS 10.15.7

(I know this project is no longer being maintained, but I figured I'd record this issue in case anyone else has the same problem or wants to try to fix it.)

Deprecated selector in `click-link/styles/click-link.less`

In click-link/styles/click-link.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .hyperlink:hover => atom-text-editor.editor .syntax--hyperlink:hover

  • atom-text-editor::shadow .source.gfm .link:hover => atom-text-editor.editor .syntax--source.syntax--gfm .syntax--link:hover

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

not working on Mac OS

This is not working on a Mac OS (v10.11.6) since ctrl+click is interpreted as right-click. Would it be possible to change it to cmd+click for a Mac?

DOM Selector no longer works in 1.17.0

Atom redid panes in 1.17.0, these changes affected the DOM, and thus the query selector for this package.

I was able to fix this locally by changing the query selector from atom-pane-container.panes to atom-workspace. Just passing it along in case you wanted to fix it upstream!

install fails from atom & apm

The 1.0.7 version doesn't install both from Atom or with the apm install in the said directory.
The 1.0.5 version works perfectly well.
This is probably a bug not due directly with your package since others have installed it successfully.

I run a Windows 10.
Atom version 1.12.6

(included debug.txt)
npm-debug.txt
file)

Uncaught TypeError: Cannot read property 'getGrammar' of undefined

Upon upgrading to 1.0.6, I'm getting this message when clicking on any button or link in the settings page. When I try to create an issue with the "Create issue on the click-link package", I get a 414 Request-URI Too Large message.

/Users/wolfy/.atom/packages/click-link/lib/click-link.js:13
Hide Stack Trace
TypeError: Cannot read property 'getGrammar' of undefined
    at atom-pane-container.<anonymous> (/Users/wolfy/.atom/packages/click-link/lib/click-link.js:13:66)

I tried uninstalling and reinstalling, but that failed. I've reverted to 1.0.5 in the meantime.

Bug in Latest version 1.0.11

After update the packge from 1.0.10 to latest one in Atom, I got this error:

TypeError: Cannot read property 'paneContainer' of undefined
    at Object.activate (/home/arvin/.atom/packages/click-link/lib/click-link.js:11:43)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:218:19)
    at /usr/share/atom/resources/app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:96:15)
    at /usr/share/atom/resources/app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:550:34)
    at /usr/share/atom/resources/app.asar/src/package-manager.js:531: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:526:19)
    at PackageManager.module.exports.PackageManager.activate (/usr/share/atom/resources/app.asar/src/package-manager.js:508:46)
    at /usr/share/atom/resources/app.asar/src/atom-environment.js:826:28

Workaround:
Temporary I replaced following line in /home/arvin/.atom/packages/click-link/lib/click-link.js file:

From:
atom.workspace.activePaneContainer.paneContainer.element.addEventListener("click", function(e) {

To:
document.querySelector("atom-pane-container.panes").addEventListener("click", function(e) {

Would be great to push the fix.

line-wrapped links get parsed wrong

If a link is wrapped in to a second line, only the first line gets parsed, the rest of the link is missing.
If you click on the first line only what is in the first line gets interpreted.
Clicking the second line does nothing (maybe because the protocoll is missing).

thank you for this nice package anyways :)

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.