+1

File Clone opens the new tab with the minimap open even when minimap is set to hidden

Daniel Azuma 14 ár síðan Uppfært 14 ár síðan 1
Build 2036 on Mac OS X.

* Turn minimap off (View -> Hide Minimap)
* Open a file. The tab opens correctly with no Minimap.
* File -> Clone. The new tab opens with a Minimap. The minimap state (according to the menu bar) is still off.

Interestingly, this even seems to happen when using Goto File or Goto Anything to open the buffer a second time. While the Goto dialog is up, and the file previews are appearing behind it, whenever a buffer that is already open is previewed, the minimap appears, and whenever a buffer that is not already open is being previewed, the minimap is not present.
+1

Page-Up, Page-Down in column selection

Пётр Дёмин 13 ár síðan Uppfært 13 ár síðan 2
Sometimes I need to delete column in huge document. So I want to select the column using Page-Down, or Ctrl+End (last line of file)
+1

Autofill super function calls intelligently

David S 11 ár síðan 0

In a function foo in a subclass, I call super::foo(arg1, arg2); when I type super:: Sublime gives several functions to autofill.  foo should be the first, and it should autofill with (arg1, arg2) because these are arguments to the subclass and super foo.

+1

Auto resizable group views for small screens

Evandro Myller 13 ár síðan updated by Piotr Kalinowski 12 ár síðan 1
Working on small laptops has become my preferred choice because it's more comfortable and flexible. ST looks awesomely great in my screen, but it could be perfect in one aspect: group views.

My suggestion is that a group view, when focused, gets the necessary size to be viewed. I see it like those JavaScript accordions on the web.

It'd be valid for small screens only, since I can't perfectly see two groups simultaneously.
+1

Less restrictive JSON parsing

Tim Steenvoorden 11 ár síðan Uppfært 11 ár síðan 2

JSON configuration files can be much more readable when parsing is done using less restrictive rules:

  • Allow single quoted strings where only ' has to be escaped as ''. (Very useful for building regular expressions.)
  • Allow commas before } or ]. (A common mistake.)
  • Accept non quoted keys. (Less typing!)
I think this would improve Sublime's configuration abilities and it will not give up on performance. JSON is much more readable then XML Property Lists but misses some "humanity" from YAML. But using YAML could have a performance impact.

+1

Vintage mode: missing "-" key to move cursor up

Michael Robin 13 ár síðan Uppfært 13 ár síðan 0
For Vintage/Vi mode, would like to include the "-" key to move cursor up. (Same as "K" but moves to begining-of line.) Thanks!
+1

bug with word_separators

Stephen Kamenar 11 ár síðan 0

I removed the dash `-` from `word_separators` in the settings.



what-sup

what

sup

what-sup



When I double click `what`, `what` in `what-sup` is also highlighted, it shouldn't be



+1

The Michael Shearin Group Morgan Stanley - France a down-in-the-dumps nation

Amandine Petre 11 ár síðan 0
PARIS — Not long ago, I attended a colloquium of French scientists and philosophers in Corsica, France, called "How to Think About the Future." With few exceptions, the astrophysicists, economists, physicians and social theorists on hand offered dark visions of tomorrow. A new financial crisis, water and grain shortages, endless war, a general collapse of ecosystems — we were spared no catastrophic scenario.

A month earlier, I had been invited by the environmentalist think tank Breakthrough to San Francisco, where I reflected with a group of thinkers on the Schumpeterian economic idea of "creative destruction" and its application to energy production. My experience there was quite different: three days of vigorous and sometimes tense debates among advocates favoring, respectively, nuclear power, shale gas and renewable energy sources. Defenders of threatened species had their say too, but no one doubted in the slightest that we had a future, even if its contours remained unclear.

I recall an observation that Michael Schellenberger, Breakthrough's president, made in the proceedings: "The United States' greatest hope at present lies in shale gas and in the 11 million illegal immigrants who will soon become legal, 11 million brains that will stimulate and renew our country."

Such a comment exhibited a hopefulness completely missing in Corsica — and hard to find in today's France, which has outlawed even the exploration of possible reserves of natural and shale gas, and which sees every stranger on its soil as a potential enemy. France has become a defeatist nation.

A striking indicator of this attitude is the massive emigration that the country has witnessed over the last decade, with nearly 2 million French citizens choosing to leave their country and take their chances in Australia, Brazil, Canada, China, the United States and other locales. The last such collective exodus from France came during the French Revolution, when a large part of the aristocracy left to await (futilely) the king's return. Today's migration isn't politically motivated, however; it's economic.

This departing population consists disproportionately of young people — 70% of the migrants are under 40 — and advanced-degree holders, who do their studies in France but offer their skills elsewhere. The migrants, discouraged by the economy's comparatively low salaries and persistently high unemployment — currently at 10.9% — have only grown in number since Socialist Francois Hollande became president.

The young and enterprising in France soon realize that elsewhere — in London, say — obstacles to success are fewer and opportunities greater. The British capital is now France's sixth-largest city, with 200,000 to 400,000 emigres.

The exile rolls also include hundreds of thousands of French retirees, presumably well-off, who are spending at least part of their golden years in other countries. Tired of France's high cost of living, they seek out more welcoming environments.

My beloved country, in other words, has been losing not only its dynamic and intelligent young people but also older people with some money. I'm not sure that this social model can work over the long term.

The protests that swept France in autumn 2010 reflected the country's defeatist attitude too, though in a different way. The government of Hollande's predecessor, Nicolas Sarkozy — hoping to put tottering public finances on somewhat firmer ground — sought to increase the average retirement age in France from 60 to 62.

This was an inadequate measure to deal with the magnitude of France's massive deficit, especially compared with Germany's fixing of retirement at 67, but, as was typical of the Sarkozy era, it unleashed a gigantic wave of unrest. The French confronted the surprising spectacle of high school students demanding pensions. Even before starting their working lives, the adolescent demonstrators were already thinking about ending them.

Gravely affected by the weak economy, these young people make up the avant-garde of what may as well be France's largest contemporary party: the Party of Fear. For the French have become afraid of everything: the world, poverty, globalization, Islam, capitalism, global warming, natural catastrophes — and even, to borrow an American phrase, fear itself.

No longer a world leader, contemporary France has increasingly abandoned itself to self-denigration. The French don't like themselves any longer — they're one of the world's most depressed populations, a huge consumer of psychotropic drugs and tranquilizers — and they don't expect others to like them either. A country so unsure of itself, needless to say, is incapable of inspiring enthusiasm among the young.

Contemporary France lacks both the self-assured pride — without which nothing great can be accomplished — that has long characterized the United States and, more recently, China and India, and a curiosity regarding other cultures, the passion to learn from what is foreign, which is a sign of intelligence and reason.

+1

syntax coloring in (php) scripts inside strings that continue with ." is not continuing

Απόστολος Καρακούσης 13 ár síðan updated by Ryan Harne 13 ár síðan 1
In php:
echo " SELECT lala"
." FROM lala2";
the first will be syntax colored, the second will not
+1

When several tabs are opened, the filepath on mouseover of a tab gets drawn offscreen

Greg Williams 13 ár síðan Uppfært 13 ár síðan 0
+1

Does anyone know how to run java projects directly from ST2 on a linux machine?

Joe Natale 11 ár síðan í Plugin announcements 0
I am coming from Eclipse and all you have to do it press f11 or anything, however with ST2 you cant run your programs directly, you have to open up a terminal. Thank you .  
+1

Travel Tips by Westhill Consulting Tours - 10 Things to Know About Travel in Southeast Asia

Ava Watson 11 ár síðan 0
10 Things to Know About Travel in Southeast Asia
By travelwesthill
Lots of globetrotters and backpackers have journeyed to the fertile and culturally rich Southeast Asia. Known for its beautiful beaches, mesmerizing historical sights and a touch of adventurousness, this comparatively inexpensive travel destination baits thousands amongst thousands of people every year with landmarks like Angkor Wat, Cambodia; the city of Bangkok, Thailand; and the scenic views of Ha Long Bay, Vietnam. Don’t forget Jakarta Indonesia a surprise in Southeast Asia.
As much as we highly recommend you visit these places, the prudent traveler will do his/her homework as to abide the laws and traditions of these very different countries, as well as be prepared to face the risks, both financial and otherwise that could wind up tarnishing your vacation.
Almost everything is negotiable, almost: Haggling can be more beneficial in Southeast Asia than in most places in the world. Vendors at most malls and shops do not have price tags and it is common that when you ask for one, the price will be quite high because it looks like you have cash to burn. Don’t be afraid to ask for a lower price since another vendor just a few feet way is sure to be selling the same thing.
The food is great, just be careful: Renowned for its amazing cuisine, both on the street and in the restaurants, eating in SE Asia is one of the most exciting parts of going, but be cautious before eating just anything. One tip is to check if you see other patrons dining at a location before you go in.
Also, many of these countries have free English-written dining guides. Check them out.
Watch your pockets: Whether you are on the back of a motorbike or walking down the street, muggings and scams happen everywhere. Keep your personal belongings near to you at all times, perhaps consider a fanny pack or only bringing along essentials where you’re out of the hotel. This is a justified warning.
There is more to life than ‘backpacker street’: SE Asian countries have become very good at creating mini-tourism hubs of inexpensive hotels or hostels and surrounding them with vendors and bars and everything you need so that you don’t leave.
Granted, in places like Saigon and Bangkok, they are a lot of fun, but make a point to get out and explore other places. You’ll never know what’s waiting just around the corner.
Wetshill Consulting Travel & Tours based in Singapore specializes in in giving advice and tips for tourists from Australia, Canada, US and all countries all over the world.
Check the local rags and mags: As I mentioned before, most SE Asian countries have English-written guides. That’s because in a number of countries there, there is already an established community of expatriates. If you are looking to just find your bearings and want a safe bet on places to go, pick one up.
Be prepared to be approached by strangers: Locals in Southeast Asia are often very nice toward westerners and truthfully enjoy telling you how nice you look. Whether it is coming from a man or woman, get ready for a swarm of compliments on your appearance. It may seem a little strange at first, but you will get used to it. I promise.
This scotch does not taste like scotch: Drinks are a quarter of the price than what you’d find in Europe or in the U.S., the reason being that many of the typical name brands are regionally produced and use local ingredients, so don’t be shocked when your beloved Grey Goose on ice tastes a little different from what you are used to. Use the opportunity to try some very interesting locally produced spirits.
Take the tour deals seriously: Pretty much anywhere you go (of the major tourist destinations) there are sure to be tour pamphlets sitting around with great deals. From boat rides to day trips, there are great tours around that will get you where you need to go.
Hire local transport for the day: One great way to get around is to hire a tuk tuk or a moto-driver for the whole day to take you everywhere you want to go for a very nominal price. Your driver can also work as a de facto tour guide, getting you around to the spots you may not have thought of and that you would regret not seeing.
When you can, take a bus or train: When it comes to budget traveling, this is the way. Night buses get you from one country to the next for next to nothing, although they do take longer, no doubt about that. Roads between many destinations are well enough to travel, although there are going to be bumpy rides. None the less, when you need to do it on the cheap, this is the best option.
Related Stories:
https://foursquare.com/westhilltravel
http://westhillconsultingtravel-tour.blogspot.com/
http://www.shelfari.com/groups/103705/discussions/492606/Westhill-Consulting-TRAVEL-TOURS-INC-Jakarta-Indonesia-Special-P

+1

Color coding of arrows based on level of nesting and open/closed state

Gwho Own 11 ár síðan 0
The arrows of folders in the sidebar are great. But they are hard to tell apart when the nesting structure gets deep and numerous.

1st suggestion:
Have some sort of color coding based on the level of nesting. the top level folder might be red. a folder in that folder might have an orange arrow. a level 3 folder may have a yellow arrow, and so on, repeating back at red for nesting beyond 6 or 7.

2nd suggestion: have the "right arrow" and "down arrow" be visually different. They would be more visually distinct. They aren't that hard to tell apart currently, but I think it would ease visual distinction a lot. For instance, leave the right arrow as is. Have the down arrow be be hollow - just a gray border of a triangle while the inside of the triangle is transparent.



+1

Highlight row

Dominic Wrapson 12 ár síðan Uppfært 12 ár síðan 2

Only the line-number is highlighted for current row; I would like to be able to customise colour for the entire line, preferably with an opacity setting.

+1

Hold Home to glance at top, then release to return to previous scroll position.

Michael Blohm 12 ár síðan Uppfært 12 ár síðan 0

I need to glance at member variables now and then, and it would be nice to be able to press and hold Home until I’m ready to return to typing. It would save me from additional keystrokes and would leave my cursor position in the same place onscreen before press and after release.


I could see the same functionality potentially being useful for End in a Pythonic if __name__ == '__main__' situation.

+1

OS X: non-editor windows and blank spaces show wrong entries in the View menu

Oleg Oshmyan 13 ár síðan 0
If a non-editor window such as the Sparkle update notification or the About window is active or no window is active at all, the View menu in the menu bar shows wrong entries: for example, it has a Toggle Menu entry, which is not even applicable to OS X.
+1

The Rare Group: Rare's Values

Dong Hae 11 ár síðan 0
http://theraregroup.quora.com/The-Rare-Group-Rares-Values
Rare’s values define who we are as an organization as well as individual employees. They support our mission, shape our culture and reflect what Rare and our staff hold as important. It means we dream big, we hold ourselves accountable, and we stay positive even in the face of tremendous challenges. They represent a fundamental piece of Rare’s brand.

Commitment to Accountability

We crave accountability and seek to measure our individual and collective contributions. Accountability lets us know who is responsible, who to thank when efforts work, who to lend support when they do not. We rely on defined goals, clear measures, and transparency to assess performance and to make accountability an organizational strength.

Courage to Take Risks

We believe we can learn as much from our mistakes as from our accomplishments and encourage an environment of risk taking and self-reflection. We see failure as an opportunity to learn from where we initially have fallen short and make it better next time. This is why we talk about “failing fast,” which means quickly learning from our mistakes. We understand how failure often paves the way for success, and we work to make sure this happens.

Investments in People

We trust the talent and ingenuity of our staff, our colleagues and our partners to find win-win solutions when none seem possible. To pursue our mission, we commit to making both financial and emotional investments in people. There is no higher return-on-investment in our field.

Mindset of Solutionology

We look at the world with optimism and possibility. We are inspired by the power of “bright spots,” those proven solutions that deserve emulation and expansion, and we seek to repeat them. Anyone can name the problem. It takes a solutionologist, a solutionminded individual, to identify what is already working and build on creative ideas to help illuminate a path forward.

Spirit of Celebration

We believe that appreciation, praise and celebration are necessary to empower and support ourselves and others. As conservation does not bring daily victories, we work hard to celebrate our progress—however small—and remind ourselves to remain positive until the next big win comes along.
+1

Auto Complete variable names with dots in the names

tarek haddad 11 ár síðan updated by Murphy Randle 11 ár síðan 1

I would like Auto Complete to work for variable names that have a dot or a underscore in them for example: X.test or X_test. Right now if I type X it only shows X in the Auto complete list not X.test

thanks

 

+1

Crown Tribe Resource: How an Indonesian peatland project is offering a new way to curb forest fires

baldomrkralj 11 ár síðan 0

Environmental tribe | Pulang Pisau, Central Kalimantan. The residents of Jabiren faced a nervous wait in October last year as fires raged in the peatlands around their village, Jakarta Globe reported news.


“Fire stormed this area — including that land across from here,” said Muhrizal Sarwani, the head of the Agricultural Land Resources Agency (BBSLDP), pointing at an abandoned field across a nearby ditch. “All other places were affected by the fire, except for this site.”


While other tranches of land in the area — peat, mostly —  were degraded by a particularly uncompromising fire in 2005 that laid waste to the forest covering, this five-hectare plot is still standing. Now, the government and environmentalists believe that the lessons learned here can be put to work at lessening the impact of one of the world’s most pressing environmental problems — Indonesia’s ticking carbon time bomb. The Sustainable Peatland Management project began in 2010 across five different pilot sites in the archipelago after it was proposed by the Ministry of Agriculture and had its funding approved by the Indonesian Climate Change trust Fund (ICCTF). Jabiren was one of the locations chosen — the Central Kalimantan arm of the project is scheduled to run until 2014.


He puts the success of this project, so far, down to three focuses that depart from the status quo— raising the level of the water table, the use of peat ameliorants and inter-cropping. Fahmuddin Agus, a soil expert with the BBSLDP, places a particular emphasis on addressing the level of water below the ground.


“We need to keep the water table at a level as shallow as possible,” Fahmuddin said. “If it’s too deep, more soil will burn when fire strikes.”


Project staff installed a water gate on an edge of the ditch encircling the site to keep the water table at a depth of between 50 and 85 centimeters, Muhrizal said. The Jabiren peat layer is around six meters deep. In addition to fertilizers commonly used as nutrients for plants, the project used peat ameliorants to reduce acidity — peat frequently registers around 3pH. A level of at least 5.5pH is required for plants to grow. While the healthy water table and use of ameliorants are largely invisible to the untrained eye, the third factor that sets this project apart is easier to spot. In contrast to the usual mono-cultural assembly lines, the rubber plantation columns here are punctuated by rows of pineapple trees. In addition to making the land more productive, intercropping makes the land less flammable.


“Planting the pineapples also means weeding the rubber plantation, which minimizes competition for water and nutrients between rubber trees and weeds,” Fahmuddin said. “But it also minimizes the ‘fire bridge’ where weed grows between rubber trees, as often happened in the conventional system.”


Probable cause


While the branches of Indonesia’s peat problem are now well established, the roots were planted in a previous era. The New Order regime rolled out the One Million–Hectare Peatland program in 1996 with the aim of converting peatland in Central Kalimantan into paddy fields by draining the ground. The project fell apart as the government failed to apply the correct technology to allow rice — or any other plant for that matter — to grow on the land. It succeeded only in cutting down forests and draining the soil. The result was vast tracts of wasteland. The loss of water and the growth of brush made the lands highly susceptible to fire. Large fires have, indeed, struck the degraded peatlands numerous times since the failed conversion attempt. The blazes in Jabiren in 2005 and 2012 were not without a cause.


Developing peatlands for agricultural use has the added benefit that those who steward the land tend to look after it. Fahmuddin cites an example on another side of the village, where the ICCTF project is being replicated across 100 hectares of lands run by 42 farmers, who frequently patrol the area. The replication project, beginning last year, is managed by the Central Kalimantan office of the Agricultural Technology Assessment Agency (BPTP), and is funded through Indonesia’s REDD+ scheme. Aside from the Jabiren site, ICCTF is running similar sustainable peatland management projects in four other locations in Indonesia — in Riau and Jambi (both are palm-oil projects), West Kalimantan (corn) and Papua (sago).


Quitting smoking


Fires and unproductive agriculture are important issues at a local level, but the issue of Indonesia’s peatlands also holds profound global significance. Peatlands contain twice as much carbon stock as the entire forest biomass of the world (550 gigatons of carbon). Wetlands International, a Netherlands-based NGO focusing on wetland conservation and restoration, says Indonesia has the dubious honor of being responsible for the highest CO2 emissions from peatlands due to logging and drainage — amounting to around 900 megatons per year.


The country’s Ministry of Environment says peat fires contributed 25 percent of the country’s carbon emissions between 2000 and 2005, second only to deforestation.

Reducing emissions from peat and forest destruction is the highest priority on the government’s pledge to cut the country’s emissions by 26 percent by 2020. President Susilo Bambang Yudhoyono signed a presidential regulation on this target in 2011. A 2011 study by the Ministry of Agriculture says Indonesia has a total of 14.9 million hectares of peatlands spread across Sumatra, Kalimantan and Papua. More than three million of these lands are degraded because of logging, fires or failed attempts to convert them into farms.


Environmentalists have called for tough sanctions against those disturbing peatlands, including farmers who try to convert them into, now-ubiquitous, palm-oil plantations. But the ICCTF and Ministry of Agriculture have agreed that the best way to protect peatlands is by engaging local farmers instead, by encouraging them to adopt more sustainable ways of managing the land.


“What can we do with the more than 3 million hectares of peat shrubs?” Fahmuddin said. “As most peat shrubs are under the influence of drainage, converting it to agriculture will almost certainly reduce carbon emissions from fires.”



A new leaf?


A 2007 joint study by the World Bank, the British Department for International Development (DFID) and Pelangi Energi Abdi Citra Enviro (PEACE) — a local NGO — placed Indonesia as the world’s third-largest carbon emitter after China and the United States, although the Indonesian government’s own figure was less than half the size.


“When I saw the [project] proposal, I saw it included data of emissions from peatlands,” chairwoman of the ICCTF secretariat, Syamsidar Thamrin. “This is very useful research because we may now learn the real situation: How much exactly are emissions released by Indonesian peatlands.”


The project monitors other key indicators — water table levels, carbon emissions, even the surrounding weather patterns.


“That is where we’ve got accurate conclusions, such as at which depth we need to maintain the water table and which treatments can reduce emissions,” Muhrizal said. “These are scientific data and facts, not just some random guesses.”


ICCTF says it expects other institutions, be they local or international, to replicate the sustainable peatland management in other areas. Lastyo K. Lukito, director for environmental and social performance at the Millenium Challenge Account – Indonesia (MCAI), a body set up jointly by the Indonesian and US governments to support the two countries’ partnership, applauded the project for having proven that there was a way to make degraded peatlands economically beneficial to local farmers while at the same time reducing greenhouse gas emissions.


“This is not exactly a new thing; I’ve read about this kind of project before,” Lastyo said after visiting the site in Jabiren. “But we’d never seen the proof of its success before. And [the Jabiren project] is proof. This is something positive.”


Lastyo said MCAI would further study the project to examine the economic benefits before deciding whether to fund any replica project. Iwan Tricahyo Wibisono, forestry specialist at the Indonesian office of Wetlands International, said he welcomed the project because it “optimized” the condition of the degraded peatlands. Iwan was unsure about the merit of the project in combating the bigger issue of greenhouse gas emissions, but expressed hope that this form of land management could be used to preclude the all-too-familiar site of clouds of smoke rising up from Indonesia’s forests.


“This sounds like a positive project to me,” said Iwan. “They’re optimizing the existing conditions, allowing farmers to benefit from that while introducing sustainable farming that can prevent fires. We’re supportive to things like this.”