0

extend symbol regex for sublime text 3

Alexander Bird 11 років тому оновлений 11 років тому 1

Right now, in ST3, the "f12" key to 'jump to definition' is awesome, but it does not consider SQL procedure creations as a symbol. It will consider every line saying "CREATE TABLE foobar" as a symbol, but not "CREATE PROCEDURE foobar".


I would like a way to extend the regex used for creating its symbol table. In fact, looking for a 'tags' folder seems like the best solution to me.

0

http link open by selecting -> right click -> «open http://...»

Alexey Berezuev 12 років тому 0
Hi, guys.
Thanks for your work, but I need one future...
There are some http-ftp-links in code in my work, and coping of links to open it in browser every time is not good. (sorry about my English, it's foreign language to me)
I hope, you will add this, and I won't need to create plugin...
Image 162
0

Shift + Delete / Backspace mapping

aristidesfl 11 років тому 0

Is it possible to map an action to Shift + Delete / Backspace?

0

Juan Carlos: Spanish monarch struggling to revive a tarnished crown

Kennie Nash 11 років тому 0
BP Holdings Tax Management

FT.com - The King of Spain could not have wished for a better occasion, or more loyal company, to mark his return to public life on Monday. Surrounded by the gilded splendour of the throne room in Madrid’s royal palace, Juan Carlos was presiding over the traditional New Year ceremony to honour Spain’s armed forces.

Facing him below the glittering chandeliers stood the country’s senior military officers, chests loaded with medals, along with the prime minister, cabinet members and army veterans. Amid the polished boots and purple sashes, there was not a republican in sight.

The ceremony ended as it does every year, with throaty cries of “Viva España!” led by the king himself. Yet there seemed nothing vivacious about the man at the centre of attention. Juan Carlos, 76, had arrived on crutches, shuffling uneasily, his face reddened and blotchy. He delivered his speech in halting tones, faltering over words and gasping for breath. It came as a stark reminder that the king is an old man. He had not appeared in public since a hip operation in November, the latest in a series of small but persistent health problems.

It was hard to look at Spain’s ageing monarch and not read more into his stumbling performance than the simple advance of time. Just a day before the ceremony, a Spanish paper had released a poll showing just how far Juan Carlos has fallen in the estimation of his subjects. Almost two-thirds said they wanted him to abdicate in favour of his son, Crown Prince Felipe; more than 40 per cent said they wanted Spain to be a republic.

On Tuesday, the royal house suffered a fresh humbling: Princess Cristina, the king’s younger daughter, was formally declared a suspect in a criminal probe into her husband’s alleged shady dealings. The investigating judge said she may have committed money laundering and tax fraud, and called her in to testify in court on March 8. Another bad day for the Bourbons looms.

The monarch has faced testing times before. He showed acute political judgment along with remarkable personal bravery, traits rarely demanded from a modern monarch, in the early stages of his reign, as he helped steer Spain from dictatorship to democracy. In 1981 he intervened decisively to squash an attempted military coup, earning the gratitude and respect even of diehard republicans on the left. Paul Preston, the historian of Spain and biographer of the king, argues that without Juan Carlos, it is hard to see how Spain could have ended the dictatorship of Francisco Franco “without another civil war”.

Compared with the drama of those days and the hardship of his early life, the king’s current problems may seem trivial. But modern royals need at least a degree of popular respect if they are to survive. The ridicule and open hostility that often greets Juan Carlos’s tribe today – the royals have repeatedly been booed at public functions – would pose an existential threat to any monarchy. Spain’s royal house, however, is more vulnerable than most.

Born in exile in Rome in 1938, Juan Carlos had a lonely, unhappy childhood, scarred by his family’s failure to reclaim the throne. It was a quest that led his father to commit an act of cold regal realpolitik, when he handed his 10-year-old son over to Franco to be groomed as the dictator’s heir. Raised amid ageing aristocrats in Madrid, frequently called in for political lectures from Franco, Juan Carlos passed a joyless adolescence. He finally assumed the throne on 22 November 1975, two days after Franco’s death.

What sustained him during his early life was an overwhelming sense of duty to his family, and a burning desire to see the Bourbons restored to the throne. It was the same motivation that convinced Juan Carlos to break with Francoism – and to help steer Spain towards democracy. “He realised that the only way to survive on the throne was to not do what Franco wanted, and aim for a constitutional monarchy,” says Professor Preston.

His role in Spain’s transition made him a hero, which in turn made it easy for Spaniards to overlook his foibles – such as the fondness for shooting at bears and his friendship with authoritarian leaders such as Russia’s Vladimir Putin.

His standing finally plummeted, along with that of all other post-Franco institutions, during the recent economic crisis. “The king is seen as the founding father of the current system,” says Charles Powell, a Madrid-based historian and royal biographer. When that system failed to prevent the crisis, leaving Spain with record unemployment, the king was unable to escape the public wrath. In the eyes of many younger people, who have no memory of the transition, he is simply part of the nexus of political and financial power that pushed the country towards the economic abyss.

His image took a further knock when it was revealed that he went on a luxurious elephant-hunting trip at the height of the financial crisis. Just weeks before his ill-judged holiday, the king had remarked that he was so worried about the nation’s unemployed that he could not sleep.

Looming behind these recent woes is a deeper problem for Spain’s royal house. The Bourbons may be an ancient family, but their grip on the throne is far more tenuous than may appear: no reigning Spanish king has passed on the crown to his offspring since 1885; the monarch’s father never had the crown, and his grandfather died in exile. What the Bourbons lack is that aura of timeless, inevitable continuity that is the very essence of royalty.

Some believe the monarchy will end with Juan Carlos; others hope that Felipe, a diligent prince who enjoys broad popularity, will be able to revive the royal fortunes. Palace officials say the king himself has been saddened by recent events, but that he is determined to recuperate the crown’s lost prestige himself. Juan Carlos will know what is at stake: not just his own legacy, but the survival of the throne he sacrificed so much to reclaim.

0

ability to disable parenthesis destruction

Oleg Smolsky 11 років тому оновлено Jacob Gardner 11 років тому 1

Sublime text tries to be smart by destroying right parenthesis. This is royally annoying when I've replaced a bit of text between parenthesis with a function call and know that (in other editors) I need to type exactly "(" followed by ")".


Sublime text, on the other hand, eats the ")" just because there is another one next to it.

0

Conflicting key combinations for toggle_side_bar command

Maxim Philippov 13 років тому оновлений 13 років тому 1
ctrl-k and ctrl-b for toggle_side_bar are conflicting with upper_case and build commands respectively in default Linux keymap.
0

Draw a box around the code image on the right hand side that represents the current screen

Guido Vettoretti 11 років тому 0

It is a minor detail but it would be nice to see a highlighted box around the section of the code image on the right hand side that illustrated the current location of the code that you are editing in your sublime window. 

0

Create Installed Packages Directory on Startup

Will Bond 13 років тому 0
The most user-friendly way to bundle up packages is to create .sublime-package files, however they need to be copies in to the Installed Packages directory. This directory does not exist, adding an extra step to the install process. It would be nice if ST2 created this directory on startup.
0

HTML Tag Completion with TAB on PHP Heredoc

Miguel Nunes 12 років тому 0

If you use TAB to complete html tags inside php heredoc it does not work.


<?php

$string = <<<HTML

<html>

div.test ...

</html>

HTML;

?>

0

Add a configuration option to allow single click in sidebar to open a tab like double click behavior.

Patrick Hogan 13 років тому оновлений 13 років тому 0
While I can see many users liking the current behavior, those coming from other editors (like TextMate) might wish to have the more familiar single-click-to-open-tab behavior available to them. I frequently find myself forgetting to double-click a file and then have it disappear when I click on another file. Also, seeing a file's content under the tab title of another file is disconcerting. Maybe the default behavior should create some sort of "preview" tab on the very left used only for the purpose of quickly viewing files?
0

There should be three colors of indentation guides.

rsk82 12 років тому 0

Besides active and inactive colors there should be special bright color shown only when the caret is next to particular curly brace. Now when I place caret like this the guide changes to inactive. But this is stupid since reason to place caret like this is specially for check if the curlies are not misaligned. This is very frustrating.


(Any plugin about that ?)


Here is how it looks :

Image 173


and how it should be like:


Image 174

0

Truncated binary without notifying the user about it.

Ivan Castellanos 12 років тому 0

It should give some kind of alert saying that the hexadecimal view of a binary file has been truncated.

It happened in Windows 7 SP1 in ST2 build 2213 with this file : https://dl.dropbox.com/u/67245568/casa.bmp

This tool will give you a non-truncated hex dump: http://www.fileformat.info/tool/hexdump.htm

Image 200

0

Don't scroll to position on minimap when clicking below the bottom of small files

Daniel Patterson 12 років тому 0
When I have small files open, the minimap does not take up the whole vertical space. When I have the window behind another, I click on that blank spot to bring me back to the window. I would expect that it would just raise the window, but it instead scrolls me to the bottom of the file.

This really annoying! I find that multiple times a day I am all of the sudden at the bottom of the file.


I guess one way around this is to not scroll to position when the window is not focused (which I think would be useful in general - if I'm not focused on the window, I'm probably not trying to scroll when I click the minimap), and the other would be to not treat everything below the bottom as indicating scroll to the bottom (which would also be nice).

 

0

View Ruler does not persist

Cainan Whelchel 12 років тому 0

View Ruler has to be checked for every file even after the file has been closed and reopened. I would imagine this is normally a "all-file" setting. 


Maybe it's my system:

  • Windows XP 64bit
  • Sublime Text 2.0.1 Build 2217
EDIT - I found the persisted value it in the Preferences -> Settings - Defaults
"rulers": [80]
0

commit_completion

Benson Russell 11 років тому оновлений 11 років тому 1
So I'm writing a plugin that's trying to monitor when the user selects an option from the autocomplete popup list. The proper way I've found to do this is to monitor the commit_completion text command via the event listener class. The problem is commit_completion does not fire if the user selections an autocomplete option either via the mouse or tab key. It works fine when they press enter.
0

bring a view to the front of its group without changing the focus

Filipe Cabecinhas 13 років тому оновлений 13 років тому 0
Hi,

It should be possible to bring a View to the front of its group without giving it focus.

I have a panel where users can issue commands to a debugger that runs in a background thread. My problem is that I want the panel to stay focused after the user sends a command with the return key. But I can't show the panel again in the on_done handler because the handler will only queue the command and immediately return.

When the program stops, I have to load the file where it stopped and set a marker in a line (which it seems I can only do after it finishes loading). I want to set the marker, bringing the file to front, AND still keep my input panel focused.

Regards,

  Filipe
0

Bug when replacing text

Todor Pavlov 12 років тому 0
Hi,
When replacing text there is a new line after each replacement. This makes the replacement function unusable.
Also how can I get the 2.0.0 vession which worked fine?

Regatds and thanks for the great editor,
Todor Pavlov
0

Seamless tab design with Windows Aero

sjsj 12 років тому 0

Image 147

I like Chrome's style.

0

Strict Project file editting

Diogo Resende 13 років тому 0
Have an option to enable strict project file editting. What I mean is:

- when opening a file, if the folder (or parent folders) have a sublime-project file, and it includes the current file -> open project (if not opened, closing any opened project)
- when closing all open files, close project
- when opening a file and a project is opened that does not include the file, open the file in a new window

This are some actions that I think are needed to avoid adding history garbage to projects and mixing projects
0

text-based file open panel

JayPlee 12 років тому 0

It would be great if you could type a not-yet-opened file path into the find anything window and have it suggest completions for the filepath, ala emacs find-file-or-url command.