With TM2 nice and stable at release candidate 23, and with a major feature of TM being bundles of user-built snippets and commands, it would be much appreciated to have a UI for editing bundles.
Just supporting
1. Drag snippets between existing folders and
2. Right click “create new folder”
Alongside the existing make new, copy UUID and show in Finder features these two would be a major advance in usability.
Even if it was restricted to user-managed bundles (if the concern is to much product support from breaking updates to centrally managed bundles in the first instance).
Hi,
Programming for R (stats package) the user often wants to select a whole function (usually in order to execute it in R)
my fun <- function(param,..){
# your code
}
cmd-shift-B will select the next-out level of brackets, and, if repeated, will eventually select the outer-most brackets. But to execute the function, one needs to select the whole of that first line of the function definition.
Is there a command to do that?
the command would function like repeated executions of cmd-shift-B until the there is no outer bracket to find, then expand the selection to include ^ of the first line
Is it possible to get a TextMate 1.5 syntax coloring theme into TextMate 2.0, and if so, how?
Jerry
P.S. Just wondering why there is no theme editor in TM2.
Hello,
My end goal is that I want to tell textmate to ignore some directories (or include) when finding files using “Open Quickly”
I skimmed the source code and saw that I might be able to use some kind of settings:
static std::map<std::string, NSString*> const map = {
{ kSettingsExcludeDirectoriesInFileChooserKey, kSearchExcludeDirectoryGlobsKey },
{ kSettingsExcludeDirectoriesKey, kSearchExcludeDirectoryGlobsKey },
{ kSettingsExcludeFilesInFileChooserKey, kSearchExcludeFileGlobsKey },
{ kSettingsExcludeFilesKey, kSearchExcludeFileGlobsKey },
{ kSettingsExcludeInFileChooserKey, kSearchExcludeGlobsKey },
{ kSettingsExcludeKey, kSearchExcludeGlobsKey },
{ kSettingsBinaryKey, kSearchExcludeGlobsKey },
{ kSettingsIncludeDirectoriesKey, kSearchDirectoryGlobsKey },
{ kSettingsIncludeFilesInFileChooserKey, kSearchFileGlobsKey },
{ kSettingsIncludeFilesKey, kSearchFileGlobsKey },
{ kSettingsIncludeInFileChooserKey, kSearchGlobsKey },
{ kSettingsIncludeKey, kSearchGlobsKey },
};
However, I don’t know where I would set these. I believe there may me some kind of file I can place at my project root to define these, but I’m unable to determine what the name of this file should be or the format of the file.
Any help would be appreciated.
Thanks!
1. Use app "Check for Upgrade" to upgrade to RC 20/21/22, Cmd+F to bring up
Find dialog window, unable to display/type non-English characters (such as
Chinese, Japanese) in Find and Replace text box, have to un-focus input
area to show the characters. No problem for English characters.
2. Manually upgrade by downloading RC 20/21/22 from Github, and replace
existing TextMate.app in Applications. Cmd+F (or select Find... from Edit
menu) will not bring Find dialog window.
Rolled back to RC 19, solved the problem.
--
Sent from my mobile. Ignore the typos unless they're funny.
--
--
Sent from my mobile. Ignore the typos unless they're funny.
Hi all,
There is some problems with expressions in f-strings in the Python bundle.
One is that escape-completion does not work inside them at all.
The other is that syntax highlighting often fails. For example for these:
f"{2 * 37}"
f'{person["name"]}'
f"{'Eric Idle'}"
In neither of these f-strings the braces or expressions are highlighted.
Does anybody know how to fix these? I guess it’s just some small adjustments to the syntax bundle but it’s a rather daunting list of regular expressions in there.
F-strings are a great enhancement to Python and it could be great to have them probably supported.
I have created issues on https://github.com/textmate/python.tmbundle/issues/ for both problems.
Best regards,
Tuk
I have a bundle for linting JavaScript and I'm having trouble figuring out
how to handle JavaScript embedded in HTML. Currently, I'm expecting that
the `source.js` refers to a full file. This creates an issue since
`source.js` is also part of the scope when JavaScript is embedded in HTML,
causing my bundle to lint a full HTML document. Is there a way to configure
the bundle to ignore embedded JavaScript, or to dynamically switch to
linting only the embedded JavaScript?
This the bundle: https://github.com/ryanfitzer/eslint.tmbundle
Hi All,
Sorry for troubling you.
I am trying to build TextMate from source, since I would like to add couple of features, key bindings etc.
I have done literally everything as specified on this page:
https://github.com/textmate/textmate#readme
I have downloaded latest XCode online tools on my latest patched version of macOS Mojave.
Also, I see that Apple has upgraded my Ruby to the version 2.3.
However, anytime I run:
./configure && ninja
I get the following output:
———————————
rm /Users/sinisa/razno/zez/textmate/Frameworks/SoftwareUpdate/fixtures/secret.pem
bin/gen_build:487:in `rename': No such file or directory @ rb_file_s_rename - (build.ninja~, build.ninja) (Errno::ENOENT)
from bin/gen_build:487:in `atomic_write'
from bin/gen_build:567:in `block in <main>'
from bin/gen_build:538:in `chdir'
from bin/gen_build:538:in `<main>'
./configure: line 99: 19128 Segmentation fault: 11 ninja Frameworks/encoding/src/frequencies.capnp.h
./configure: line 100: 19179 Segmentation fault: 11 ninja Frameworks/plist/src/cache.capnp.h
bin/create_default_bundles_tbz: line 21: 19193 Segmentation fault: 11 ninja "$bl”
—————————
What should I do ????
Many, many thanks in advance …….
--
Sincerely,
--
Sinisa Milivojevic <sinisa(a)cytanet.com.cy>
MySQL Developer
Larnaca, Republic of Cyprus
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ /
/ /|_/ / // /\ \/ /_/ / /__
/_/ /_/\_, /___/\___\_\___/
<___/ www.mysql.com
Hi All,
I’m currently preparing my new machine to replace my old MacBook Air 2015 as a development machine. My new machine is a Mac Mini 2018.
I’m unable to save files in TextMate (the editor I do all my code in). Got the following error :
The document “untitled.txt” could not be saved
Please check console output for reason.
I don’t see nothing special in the console log. I tried all the steps in https://alexwlchan.net/2016/05/os-x-hates-textmate/ to no avail.
Anyone has any idea?
Thanks,
Yann Bourdeau
yann.bourdeau(a)noviflow.com