Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

0

extend symbol regex for sublime text 3

Alexander Bird il y a 11 ans mis à jour il y a 11 ans 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 il y a 12 ans 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 il y a 11 ans 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 il y a 11 ans 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 il y a 11 ans mis à jour par Jacob Gardner il y a 11 ans 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 il y a 13 ans mis à jour il y a 13 ans 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 il y a 11 ans 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 il y a 13 ans 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 il y a 12 ans 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 il y a 13 ans mis à jour il y a 13 ans 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?