noxart / sublimetext2-linkopener Goto Github PK
View Code? Open in Web Editor NEWTiny plugin for opening links and web searching
License: MIT License
Tiny plugin for opening links and web searching
License: MIT License
Sublime Text already has a command called 'open_url' that accepts a keyword argument 'url', when called it is redirected to LinkOpener.OpenUrlCommand that doesn't expect the extra argument
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 545, in run_
return self.run(edit, **args)
TypeError: run() got an unexpected keyword argument 'url'
E.g., Help>Documentation is not working anymore (at least on Sublime Text 3 for Windows)
Just don't know how to add them to UI yet...
I get this message in the console when clicking the "search on web" option from context menu
Traceback (most recent call last):
File "./sublime_plugin.py", line 362, in run_
File "./LinkOpener.py", line 191, in run
AttributeError: 'NoneType' object has no attribute 'replace'
But I am using chromium under linux, so I think it's could be because python 2 doesn't manage this browser.
A URL on a local network may not have a . in the server name, e.g.:
http://server/path
Here is a patch to LinkOpener.py that matches these:
30c30
< head = r"(?:(?:(?:http|https|ftp)://(?:\S+?))|(?:\bwww\.\S+?))"
---
> head = r"(?:(?:(?:http|https|ftp)://(?:\S*?\.\S+?))|(?:\bwww\.\S+?))"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.