>
> Even when I try to retrieve the PATH from Terminal, I still get this error.
> Has any one run into this kind of problem before??
Which error are you getting? Please post the output from these two
commands:
echo $PATH # Remember you need a $ to access shell variables
which g++
Your path should be separated by : (colons), not new lines. If you get a
valid answer to "which g++" add that to your path by appending a colon and
then that directory to the path. For example, my path (in TM) is
/Users/bmf/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
When I enter "which g++" into terminal I might get (for example)
/opt/extra/stuff/bin/g++
So my I would change my path in TM to
/Users/bmf/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/extra/stuff/bin
Note: my g++ is in /usr/bin. That is by default in the path. Rather than
muck with your PATH, I would go with Allan's advice and make sure you have
it installed correctly. If 'which' doesn't find it and you didn't purposely
install it into some weird place, it probably isn't installed.
Brandon
>
> Is this expected behavior? Or is there a setting I'm missing or different
> workflow I should follow in order to get textmate to remember what should
> be
> visible in my project?
Yes, this is expected behavior. It rescans the directories and adds files
whenever you open the project or command+tab back to TextMate*.
The way to change which files are discovered is to right click on the root
folder and choose "Show Information..." (or select the folder and hit
command+i). Where it says "Recursively Include Contents Matching..." you
can define "regular expressions" to include/exclude files and folders. I'm
not sure which syntax that box is using for the patterns but exclamation
point (!) acts as negation so you can easily exclude stuff from your
directories.
*You can use the plugin ReMate to disable this behavior if you don't want to
exclude the files but rescanning them is slow.
Hope that helps! Enjoy using TextMate! :)
Brandon
Hello everyone,
I first want to apologize to anyone who thought the subject said
"TextMate2." I promise I wasn't trying to deceive you. :-)
I'm not sure if this is the best place to post this, but I have created an
improved version of TabMate and wanted to share it with those of you who
have been frustrated by a lack of an update to such a useful plugin.
TabMate2 <https://bitbucket.org/tweekmonster/tabmate2/overview> brings
improvements that include refreshing windows with your modeline settings
when you:
- Switch between windows (not just tabbing in and out of TextMate)
- Switch between tabs
- Save your file (editing then saving the modeline will immediately
update your window settings)
- Reload Bundles
A bonus feature has also been added: You can also keep your modeline at the
bottom of your files!
TabMate2 also has a companion bundle that helps you create and manage a
modeline in your files. Install it and simply press ^M and a modeline will
be added to the top of your file. If you already have a modeline in your
file, the bundle will simply update the existing modeline with your selected
language and tab settings.
You can download the PlugIn (be sure to remove TabMate first) and Bundle
here: https://bitbucket.org/tweekmonster/tabmate2/downloads
I would also like to make this disclaimer: I'm new to Objective-C
programming. This was my first real-ish project involving Objective-C and I
welcome any comments or pointers about the code
itself<https://bitbucket.org/tweekmonster/tabmate2/src>.
I also was only able to test this plugin in Snow Leopard and Lion, but I
assume that building it with the 10.5 SDK would make it usable on Leopard,
right?
Please let me know what you think!
-Tommy
First off, I'm new at this Mac stuff. Got my first ever Mac yesterday, and
I've been trying to get it all to work.
I'm studying Software Engineering at University, and the current (first)
language we're working with will be C going to C++. I've installed xCode,
which I've got working, however I would like to use TextMate for the actual
writing as the snippets just makes it awesome.
I have a problem though, when I compile a simple code like this:
int main(void){ printf("Hello World\n"); return 0; }
it works fine, I get the compiled output from gcc (I believe it's GCC in
xCode), however if I run this:
int main(void){ int number; printf("Give number: "); scanf("%d", &number);
printf("Number provided was %d", number); }
What happens is I get the said console output window, however it does not
allow me to actually input stuff, it merely slaps 0 in the scanf.
I used 5 hours last night trying to get everything to work, and I may have
been searching on the wrong things, but I'm new at all this so please beare
with me, and if there's a specific answer somewhere (thread here,
stackoverflow etc) then a link would be awesome.
Hope someone can help me, as TextMate is just....awesome.
Best Regards
Dennis
--
View this message in context: http://old.nabble.com/compiling-code-but-not-inputs-tp32422353p32422353.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I have been trying to do C++ in textmate but I keep getting this error:
The current PATH is:
"/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/X11/bin
Please add the directory containing “g++” to PATH in TextMate's Shell Variables preferences.
Alternatively, the PATH can be retrieved from Terminal but this requires a relaunch: "
Even when I try to retrieve the PATH from Terminal, I still get this error. Has any one run into this kind of problem before?
I apologize if this has been covered before but i couldn't find any answers searching (none I could understand at least)
Thank you
John
richiesta di rimozione immediata dell'indirizzo info(a)scrivilo.it, inserimento in mailing list mai richiesto :-/
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. R Console (Rdaemon) bundle ? how to edit / prevent long
> function descriptions? (Martin Batholdy)
> 2. Re: R Console (Rdaemon) bundle ? how to edit / prevent long
> function descriptions? (Hans-J?rg Bibiko)
> 3. Re: R Console (Rdaemon) bundle ? how to edit / prevent long
> function descriptions? (Martin Batholdy)
> 4. C++ not compiling in text mate (John Relosa)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 Sep 2011 15:20:43 +0200
> From: Martin Batholdy <batholdy(a)googlemail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] R Console (Rdaemon) bundle ? how to edit / prevent
> long function descriptions?
> Message-ID: <82E1C12C-A88C-4786-BC4C-5842A8730A02(a)googlemail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I am currently using the Rdaemon bundle to run R from inside a textMate document.
> It works great and I am really excited about having the power and flexibility of a text editor like textmate combined with the possibility to execute R-code within the text editor.
>
> However there is one minor issue, so I thought perhaps someone here found a solution for that.
>
>
> When you use Rdaemon and type a function you automatically get a small yellow overlay window that gives you some information about this function.
> That is a great feature.
>
> However this yellow overlay window for some reason gets huge if you want to set up for example a for-loop.
>
> If I type "for(" my whole screen is covered with a huge yellow overlay window showing a lot of html-code (I think it is the html-code of the corresponding help page).
> (same for starting an if-statement)
>
> Does someone know if it is possible to edit this help-text or disable it for some functions?
>
>
>
>
> thanks!
>
> ------------------------------
>
> Message: 2
> Date: Thu, 8 Sep 2011 16:26:49 +0200
> From: Hans-J?rg Bibiko <bibiko(a)eva.mpg.de>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: R Console (Rdaemon) bundle ? how to edit / prevent
> long function descriptions?
> Message-ID: <F8C9902C-C49C-4605-8CAF-E315570CC325(a)eva.mpg.de>
> Content-Type: text/plain; charset=us-ascii
>
>
> On 8 Sep 2011, at 15:20, Martin Batholdy wrote:
>
>> When you use Rdaemon and type a function you automatically get a small yellow overlay window that gives you some information about this function.
>> That is a great feature.
>>
>> However this yellow overlay window for some reason gets huge if you want to set up for example a for-loop.
>>
>> If I type "for(" my whole screen is covered with a huge yellow overlay window showing a lot of html-code (I think it is the html-code of the corresponding help page).
>> (same for starting an if-statement)
>
> Hi Martin,
>
> thanks to bringing me back to that issue ;) I've just uploaded a new version of the R bundle which now parses the function parameter hint correctly.
>
> Best,
> --Hans
>
> ------------------------------
>
> Message: 3
> Date: Thu, 8 Sep 2011 20:19:20 +0200
> From: Martin Batholdy <batholdy(a)googlemail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: R Console (Rdaemon) bundle ? how to edit / prevent
> long function descriptions?
> Message-ID: <B41B5F7B-FE57-478C-98C6-23D9CAABE921(a)googlemail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Hi Hans,
>
>
>> I've just uploaded a new version of the R bundle which now parses the function parameter hint correctly.
>
>
> Great, thank you ? I just updated the package.
>
>
> And thank you so much for building and maintaining this textMate bundle!
> It makes working with R so much more fun on the mac ;).
>
>
> best,
> Martin
>
>
> On 08.09.2011, at 16:26, Hans-J?rg Bibiko wrote:
>
>>
>> On 8 Sep 2011, at 15:20, Martin Batholdy wrote:
>>
>>> When you use Rdaemon and type a function you automatically get a small yellow overlay window that gives you some information about this function.
>>> That is a great feature.
>>>
>>> However this yellow overlay window for some reason gets huge if you want to set up for example a for-loop.
>>>
>>> If I type "for(" my whole screen is covered with a huge yellow overlay window showing a lot of html-code (I think it is the html-code of the corresponding help page).
>>> (same for starting an if-statement)
>>
>> Hi Martin,
>>
>> thanks to bringing me back to that issue ;) I've just uploaded a new version of the R bundle which now parses the function parameter hint correctly.
>>
>> Best,
>> --Hans
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 8 Sep 2011 15:16:07 -0700 (PDT)
> From: John Relosa <john.relosa(a)yahoo.com>
> To: "textmate(a)lists.macromates.com" <textmate(a)lists.macromates.com>
> Subject: [TxMt] C++ not compiling in text mate
> Message-ID:
> <1315520167.99620.YahooMailNeo(a)web121916.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> I have been trying to do C++ in textmate but I keep getting this error:
>
> The current PATH is:
>
> "/usr/bin
> /bin
> /usr/sbin
> /sbin
> /usr/local/bin
> /usr/X11/bin
>
> Please add the directory containing ?g++? to PATH in TextMate's Shell Variables preferences.
>
> Alternatively, the PATH can be retrieved from Terminal but this requires a relaunch: "
>
> Even when I try to retrieve the PATH from Terminal, I still get this error. Has any one run into this kind of problem before??
>
> I apologize if this has been covered before but i couldn't find any answers searching (none I could understand at least)
>
> Thank you
>
>
> John
>
Hi,
I am currently using the Rdaemon bundle to run R from inside a textMate document.
It works great and I am really excited about having the power and flexibility of a text editor like textmate combined with the possibility to execute R-code within the text editor.
However there is one minor issue, so I thought perhaps someone here found a solution for that.
When you use Rdaemon and type a function you automatically get a small yellow overlay window that gives you some information about this function.
That is a great feature.
However this yellow overlay window for some reason gets huge if you want to set up for example a for-loop.
If I type "for(" my whole screen is covered with a huge yellow overlay window showing a lot of html-code (I think it is the html-code of the corresponding help page).
(same for starting an if-statement)
Does someone know if it is possible to edit this help-text or disable it for some functions?
thanks!
Hi, I am using Find / Replace to remove the word 'function' from comments in
some code I am working on (it causes the next word to appear as a function
in CodeBrowser when editing PHP code).
I am using this Regex:
/(?<=\*)([\w\s]*?) function/
I am attempting to match 'function' on any line after a * and the minimum
number of word & space characters. I added the / / to delimit the regex in
this email but am not using those characters in the TextMate dialog.
It seems to match correctly and highlights the characters I would expect,
but when I do Replace in Current Selection (shortcut or menu) nothing is
replaced. This is regardless of what I have the in replace field, whether
it is a capture reference ($1), any string of characters, or empty. My
hunch says it has something to do with the negative lookbehind but I don't
see any way in which I've used it incorrectly so I am stumped.
Anyone have any suggestions or is this a bug?
Thanks
Brandon
Hi,
Sorry if I'm asking a very stupid question, but I'm a bit stuck on this one. I've recently started to use TextMate for Python (was mainly using it for LaTeX), and I can't take full advantage of the documentation features of the python bundle.
- When selecting the Documentation for Current Word command (Cmd-H), I get a window showing an "Index of Modules". I can reach from there was I was looking for, but I would expect the command to bring directly there. Is this what it is supposed to do, or am I getting the intended behaviour? (Looking at the code, this looks to be a fallback case, so there should be something else happening.)
- When selecting the Documentation in Browser command (Cmd-Shift-H), I get the following error message:
Traceback (most recent call last):
File "/Users/xxxx/Library/Application Support/TextMate/Pristine Copy/Bundles/Python.tmbundle/Support/browse_pydocs.py", line 125, in
main()
File "/Users/xxxx/Library/Application Support/TextMate/Pristine Copy/Bundles/Python.tmbundle/Support/browse_pydocs.py", line 96, in main
wait_for_server(onserve)
File "/Users/xxxx/Library/Application Support/TextMate/Pristine Copy/Bundles/Python.tmbundle/Support/browse_pydocs.py", line 78, in wait_for_server
raise RuntimeError('timed out waiting for server!')
RuntimeError: timed out waiting for server!
Is there any setting I'm missing? From my experience with the LaTeX bundle, there were a few environment variables that had to be set in order to have everything working properly - would there be anything similar I should do here too? Is the bundle maintained at all and supposed to work with my setup (Snow Leopard, python 2.6.1)?
Thanks for your help, and again, apologies if this has been already covered or available on the web, I did my best before sending this.
--enas