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

0

Process Code Comments to Generate Quick Help/Tooltip

Derrick Lambert 11 jaar geleden 0

I think it would be cool if you could specify comments at the top of your class or above a method/function to generate a quick help/tooltip for the function or class.

Heres a example for a function where you would add these comments above the function implementation and when you call the function in another file you can control click the function name to view the quick help/tooltip.

///Summary

///Description: {description}
///Params: {params}
///Return Type: {return type}
///Public/Private: {scope/access modifier}

I think this would be very helpful for some people. Just a thought but I can see it being a big request.

0

Needs PHP contextual syntax highlighting and autodiscover/autocomplete of user defined functions and methods.

Spam Port 9 jaar geleden 0

Bad highlighting when...

$var = "Like {$this->var['key']} would not be recognized as variable!";

...but it should.


Needs better autodiscover and autocomplete of user defined functions and methods. Like when it knows fnord and where the class is defined, it should recognize $fnord = new fnord(); as being an instance AND suggest $fnord->methodname() when typing $fnord->meth....

0

Goldfields news reviews | Gold mining in Ghana: Playing with mercury

muroeammi 11 jaar geleden 0

Image 258ECONOMIST | NESTLED in a former cocoa-farming region in southwestern Ghana, the town of Prestea boasts more than 150 small-scale gold mines in the backyards of abandoned farms. The town, with a population of about 35,000, also sits covered in permanent smog—a red dust that stains white goats crimson. It is the result of lethal mercury, on which miners all over Ghana rely to refine their gold. In Prestea, where gravediggers are in greater supply than doctors, death from mercury poisoning is routine.


“There is a sickness in us. We can die from the dust. It sometimes gives us many sicknesses, in your liver and in your heart,” explains 27-year-old Abu Quarm. He has been mining for ten years, rising with the hot sub-Saharan sun to work 12-to-14-hour days in the open-air mining field in the back of his deceased brother’s house. Mr Quarm explains that just a few months ago, he lost his brother to the sickness: it began with dizziness and migraines and evolved into exhaustion, a loss of appetite and spastic episodes. Few small-scale miners in Ghana are taught to identify the harmful health implications of mercury. No official statistics exist, but Mr Quarm reckons Prestea averages ten mining-related deaths a month.


Mining World: Gold-Hedging

Brandishing from his pocket an eye-drop-container-sized white bottle of mercury and squeezing the liquid metal into his bare hand, Mr Quarm says there can be no gold without mercury. All miners use the dancing liquid metal, he explains, because it pulls gold dust together into a solid nugget. The miners then burn this to get rid of the mercury, producing solid gold, as well as the red smog that pervades the town. Mercury sells for about 40GH ($20) a bottle and is shipped in legally, primarily from China, to Ghana’s major ports.


Ghana has the highest mercury emissions in Africa, but the problem is widespread. In the past few years, tens of thousands of small-scale mining sites have surfaced across Asia, Latin America as well as other parts of Africa. The United Nations Environmental Programme (UNEP) estimates that between 1,000 and 4,000 tonnes of mercury are released into the air and water globally each year.


Which is why, after four years of negotiations, UNEP is organising the first global conference to confront rising mercury emissions and the threat to the environment. In January 140 countries signed and ratified the Mercury Treaty, agreeing to cut mercury pollution by setting enforceable international limits; now a conference will convene on October 9th in Minamata, Japan to put the plan into action.


But in countries like Ghana, where mercury is legally accessible on the streets and deeply engrained in the mining culture, many are sceptical about what the meeting can accomplish. The alternatives used by big mining companies, which involve heavy machinery and cyanide, are costly and time consuming.


“Try to put yourself in their shoes,” says Gavin Hilson, a mining expert at the University of Surrey.


“Some people drink tea with too much sugar or smoke a lot, and we know it’s bad. We’re trying to tell villagers who have been using mercury their whole lives to change their method. There needs to be a constant presence in that village, to continually educate these people and show them that there are viable alternatives. It’s a collective responsibility.”

0

on_query_context passes in None in the view

Tejas Dinkar 13 jaar geleden bijgewerkt door glyph 13 jaar geleden 1

This may be related to http://sublimetext.userecho.com/topic/21146-key-binding-context-to-only-react-on-eg-python-code/


class GetFileType(sublime_plugin.EventListener):

    def on_query_context(self, view, key, operator, operand, match_all):

        # view is none at this point



0

Key press event for input panel

Anton Rukin 12 jaar geleden 0

This could help implement history for input panels (up/down keys), and many other features


0

transform.py (SwapCase, UpperCase, LowerCase, etc.) should scan forward, if the cursor is on white space.

Brian Clapper 13 jaar geleden 0
One nice Emacs feature is that its case-changing functions scan forward, not backward. Thus:

  • If sitting on white space between two words, Emacs's upcase-word function scans forward and upcases the next word.
  • Once a word has been transformed, the cursor is sitting past the word.
Combine those two features, and you have a nice capability: To upcase three words in a row requires just three keystrokes (Meta-U Meta-U Meta-U).

By contrast, Sublime's transform functions require multiple keystrokes, since you first have to move to the word being transformed, transform it, then move past it to the next word, etc.

It'd be a nice reduction in typing to change transform.py to work more like the Emacs version.
0

In mac, in the ctl - O menu, when scrolling up with an arrow key..

wayfaremonk 12 jaar geleden 0
In mac, in the ctl - O menu, when scrolling up with an arrow key on the left side to browse different favorite directory , Sublime crashes once I hit the Shared Devices heading.
0

Tabs icons to quickly idenfy filetype or content type

Côme de Percin 13 jaar geleden bijgewerkt 13 jaar geleden 0
It would be awesome to have icons for tabs. Like favicons for website.

The goal will be to quickly differentiate an html file with a php file for exemple, 
or inside a language : a php model file with a php controller file.

If you open severall documents at a same time, you know it could be helpfull. :)

Great work Anyway !!
0

Canadian mining executive freed by Colombian rebels

Eva foenda 11 jaar geleden 0

http://www.theglobeandmail.com/news/world/colombian-guerilla-group-eln-frees-canadian-geologist/article13980621/


Mr. Wober, vice-president of exploration for Canadian junior mining company Braeval Mining Corporation, was a bargaining chip in a long-standing battle over mining rights between Colombia’s leftist guerillas and its government. Now, his release could have implications for future peace in a country racked by 50 years of violent armed conflict, by opening the door to allow the ELN, Colombia’s second-largest guerrilla group, to the negotiating table.

The Canadian went from being a pawn in the conflict over resources to a possible lynchpin in negotiating peace with one of Latin America’s oldest rebel groups.

Since November, peace talks have been underway in Havana between Colombia’s largest rebel group, the Revolutionary Armed Forces of Colombia (FARC) and government negotiators. The ELN has expressed interest in holding parallel peace talks. But President Juan Manuel Santos repeatedly said the government would not start peace talks with the ELN while it still held Mr. Wober hostage.

Mr. Wober’s release however, “means this impasse will be overcome,” said Carlos Medina Gallego, an author of several books on the ELN and professor of security and defence at the National University of Colombia.

Mr. Wober was abducted Jan. 18 along with three Colombian and two Peruvian geologists in Norosi in a gold-rich region of northern Colombia. The ELN has been historically opposed to foreign exploitation of resources and was against Braeval’s mining project that was still in its exploration phase and not yet producing gold. The ELN released the South Americans a month later, but held on to Mr. Wober. In April, the militia offered Mr. Wober’s freedom in exchange for Braeval handing over the four mining titles that make up the company’s Snow Mine project to local miners.

Braeval announced in July it would abandon Snow Mine and the rebel group declared it would soon free Mr. Wober. But as his captivity dragged on, the Colombian government applied pressure on the rebel group by making peace negotiations conditional on Mr. Wober’s release. On Aug. 1, President Santos said a peace process with the ELN could start as soon as Mr. Wober was released.

The Canadian’s abduction, originally motivated by conflicts over mining, became “an impulse toward a peace process” said Leon Valencia, a former member of the ELN who is now a leading analyst on the armed conflict and director of the Peace and Reconciliation Foundation. “They [the ELN] were pressuring for demands over mining,” said Mr. Valencia, “and now the act of liberating [Mr. Wober] gives them an entry into negotiations.”


Read More:

http://www.sunzu.com/articles/swap-your-gold-shares-for-coins-etf-firm-offers/

http://www.care2.com/c2c/share/detail/3622588

-1

Massage center in houston | Spa and wellness center in houston

Bedpageseo 6 jaar geleden 0

I want an massage so I am searching for a best and reasonable massage center in houston , so I found a website bedpage.com. In this site I found lots of massage center in houston  and Spa and wellness center in Houston. By this backpage houston I got a center near me and I got best service from there. I recommend bedpage.com for finding massage in houston  or spa in houston.