One of the great things in TextMate 1 was that the Find/Replace dialog had a toggle to switch between the default view and an expanded view, where both text boxes were large scrollable "text areas", i.e. they allowed intuitive multiline editing of search-replace clauses. This is also how it's currently done in BBEdit.
The TextMate 2 Find/Replace dialog looks like the default view of TM1, i.e. consists of two "input areas", i.e. one-line controls. It took me a while to figure out that you can actually type Alt+Enter there, and then the controls expand vertically -- so it's better than the default TM1 mode.
But I still lack the truly "expanded" view where the text boxes were, say, 8 lines tall.
Also an important feature request would be the ability to "Show Invisibles" in the Find/Replace window. Actually, I think "Show invisibles" should be the default or even the only display mode in the Find/Replace text boxes.
Regards,
Adam Twardoch
TextMate user since 2007 (i.e. since moving from Windows to the Mac)
TM2 changed the concept of projects. Could someone point to the best
pages/posts for explaining them?
First of all, *are* there projects? I see the .tm_properties discussions
but not sure how to correctly use them, or how to build a project that has
multiple folders.
My projects are of two kinds: github and multi-folder. I think the first is
easy once I understand the format of the .tm_properties file (God I wish it
were JSON, but I digress) because there's one obvious top level folder, the
git repo, and I can include/exclude files/folders in .tm_properties, I
think.
But the second is harder I think. Think of my home directory with several
folders I'd like to include in multiple projects. Ex: my bin dir and my
notes dir to start with. I could built a .tm_properties file in the home
dir which include bin and dir (both of which might also have their own
.tm_properties?) But then I also want another project in my home dir that
includes two other folders, src and hax. How do I manage that? I can't
rely on the single home .tm_properties .. I seem to need two of them.
The solution for me with Sublime is to have a folder of projects, each of
which is a JSON tree which can aim its path at specific sets of folders
anywhere in my system with associated include/excludes.
Can I do this in TM2? Easily? Thanks!
-- Owen
--
View this message in context: http://textmate.1073791.n5.nabble.com/Projects-in-TM2-simple-include-exclud…
Sent from the textmate users mailing list archive at Nabble.com.
This is a possible bug report:
Textmate 2.0-alpha.9495 crashes (or rather, gets stuck) when executing a command which has both of these options defined:
Semantic Class: callback.document.will-save
Save: Current Document
As in screenshot: http://i.imgur.com/1ghCVC3.png
Nobody would *want* to set both of these, but I thought mention this in case, as it happened to me, you set them inadvertently.
--
Quinn Comendant
Strangecode, LLC
http://www.strangecode.com/
+1 530 624 4410 mobile
+1 530 636 2633 office
@qc and @strangecode
Let's says I have this code:
is.numeric(mean(mtcars$mpg))
Let's says I highlight the code and press CMD+E to use code as find. What regular expression can I use to strip the outer function? So the replacement code would be mean(mtcars$mpg)
Cheers
Ross
Since reformat & reformat+justify are built-ins I can’t really provide decent patch w/o asking prior how we could solve the issue.
Two examples:
(1) Git commit:
I type commit message, than I press ⌃Q on 2nd paragraph.
> ——————————— before ——————————
>
> Lorem ipsum dolor sit amet
>
> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
> # Please enter the commit message for your changes. Lines starting
> # with '#' will be ignored, and an empty message aborts the commit.
> # On branch master
>
> ——————————— after ———————————
>
> Lorem ipsum dolor sit amet
>
> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
> incididunt ut labore et dolore magna aliqua. # Please enter the commit message
> for your changes. Lines starting # with '#' will be ignored, and an empty
> message aborts the commit. # On branch master # # Initial commit #
This isn’t really what I would expect. Of course when I put empty line after 2nd paragraph it does work fine. Unfortunately I keep forgetting about that.
(2) Same applies to LaTeX, which is even more frustrating, since empty line in LaTex is actually meaningful.
> ——————————— before ——————————
>
> \documentclass{article}
> \begin{document}
> \title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
> \end{document}
>
> ——————————— after ———————————
>
> \documentclass{article} \begin{document} \title Lorem ipsum dolor sit amet,
> consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
> dolore magna aliqua. \end{document}
>
> ——————————— expected ———————————
>
> \documentclass{article}
> \begin{document}
> \title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
> tempor incididunt ut labore et dolore magna aliqua.
> \end{document}
Also this applies to following cases when new environment starts before some text block.
> ——————————— before ——————————
> long paragraph text
> % comment
> ——————————— after ———————————
> long paragraph text
> wrapped % comment
> ——————————— before ——————————
> long paragraph text
> \begin{equation} …
> ——————————— after ———————————
> long paragraph text
> wrapped \begin{equation} …
So basically reformat should take into account paragraph boundaries of given language (grammar). I’d say it would be just enough if paragraph boundary would be:
(1) line with commend
(2) ending or starting of fold scope
WDYT?
—
Adam
In these lines
some text
some text
# TODO some text
some text
What regular expression can I use to find all lines except "# TODO some
text²?
I thought ((?!^# TODO.+).+) would work but didn¹t.
Thanks
Ross
I have been using rmate successfully -- installed with "gem install rmate"
on an Ubuntu system -- but rmate wasn't being recognised by the root user
(via sudo commands) so I did some fooling around in trying to install rmate
for root. Didn't go well so I gave up. The problem is now it doesn't work
for any user.
When I type "rmate filename" I get:
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in
> `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in
> `new'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in
> `connect_and_handle_cmds'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:186:in
> `block in <top (required)>'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in
> `fork'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in
> `<top (required)>'
>
> from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `load'
>
> from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `<main>'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in
> `eval'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in
> `<main>'
>
Not being a rubiest or even much Ubuntist I'm seeking help from the
community. Anyone have any ideas how I can get back to normal?
Ken
p.s. I did try uninstalling and reinstalling (with gem) but that didn't
change the behaviour.
In Bundles > TODO > Preference I¹ve accidentally deleted the TODO marker.
In the ³Pattern² box, what regular expression do I need to use to find all
TODOs in a project?
Thanks
Ross
Does anyone have a solution to restore tabs when a new favorite project is opened?
I have several projects I work with, switching back and forth frequently. In TM1, opening a project would restore the previously opened tabs. In TM2 when a favorite is reopened no tabs are restored (which is understandable since I don’t believe there is any machinery to do this). I do know that the initial session is restored at application launch, from the last project closed when the TM2 application is closed.
Ideally, I would like a mechanism that could save the meta data (files open in tabs and cursor position) for any favorite project when it is closed and restore the session when a favorite is reopened. If I have ’n’ different favorite projects, I would have ’n’ different sessions saved.
If there is a way to run a shell script “hook” at close and open of a favorite, I suppose I could write some code to do this. Since I’m somewhat new to TM2, I’m not sure what capabilities are available to do things like this.
Thanks for any help or suggestions.
— dave
Hello,
I'm transitioning to Textmate 2 and I would like to use some 'commands' that I used with Textmate 1.5, mainly for LateX, but I am having trouble.
As a simple example, in Textmate 1.5, I wrote a command that opened a Terminal window and listed the LaTeX master file, thus:
---------------------------------
#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
TM_LATEX_MASTER=`${TM_RUBY:-ruby} <<"RUBY"
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape.rb"
require "#{ENV['TM_SUPPORT_PATH']}/lib/LaTeXUtils.rb"
master = LaTeX.master(ENV['TM_LATEX_MASTER'] ||
ENV['TM_FILEPATH'])
puts master
RUBY`
cd ${TM_DIRECTORY}
/Users/gkv/scripts/term2 "echo ${TM_LATEX_MASTER} "
-------------------------------------
The script 'term2' opens a terminal window and executes the command following. This command now longer works in Textmate 2. However, Textmate 2 certainly knows what the master file is, because the standard Textmate command for opening the master file works as expected. What would the correct script be? Please be explicit in any answer you may have, as I am an end-user not a programmer!
More generally, is there a place I can read about how to construct such commands in Textmate 2.
Regards,
Geoff
Thanks Allan,
For the record I upgrade to a new TextMate version and did not change python in any way. I did notice TM_PYTHON was gone so I re-added and it didn't work at the time. Re-installed Canopy 1.1.1 python and added the path again with TM_PYTHON to the new location and it worked today.
Thanks,
-D
On Nov 11, 2013, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
> 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. networkx, scipy load errors in TextMate (Dave Gianetto)
> 2. Re: LaTeX: Improving bibliographical label completion
> (Allan Odgaard)
> 3. Re: networkx, scipy load errors in TextMate (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 10 Nov 2013 08:00:35 -0800
> From: Dave Gianetto <dgianetto(a)icloud.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] networkx, scipy load errors in TextMate
> Message-ID: <4E9BF255-834B-44E7-BC04-7D37D73B9312(a)icloud.com>
> Content-Type: text/plain; charset=us-ascii
>
> I posted this to Github here:
> https://github.com/textmate/python.tmbundle/issues/34#issuecomment-28008122
>
> Essentially, I upgraded recently to the latest TextMate alpha version and immediately could not load networkx and scipy libraries, though all other libraries can be loaded. Some have mentioned the need for path variables, I tried these and there is no difference. Further, I don't see how a path issue causes certain libraries of a common distribution (Enthought Canopy 1.1.1) to not be loadable.
>
> Any help is appreciated,
> -Dave
>
> ------------------------------
>
> Message: 2
> Date: Mon, 11 Nov 2013 02:37:10 +0700
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: LaTeX: Improving bibliographical label completion
> Message-ID: <63582790-D6FD-46A6-B42B-A902FD70D8A0(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 10 Nov 2013, at 2:35, JairoB wrote:
>
>> Ok, I found the rb file on my system. Once I edit it, what do I need
>> to do to
>> make the changes effective? Do I need to compile it? (Sorry for the
>> newbie
>> questions.)
>
> Ruby is an interpreted language, so nothing is required after making
> changes, just re-run your test in TextMate.
>
> Before making changes, you may wish to ?git clone? the bundle to
> ~/Library/Application Support/Avian/Bundles so that changes you make are
> not overwritten on updates. Though after installing the bundle locally,
> you will have to manually update it (git pull).
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 11 Nov 2013 02:45:52 +0700
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: networkx, scipy load errors in TextMate
> Message-ID: <4C16292F-9A77-4934-8FBB-FF3F52A1EF19(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 10 Nov 2013, at 23:00, Dave Gianetto wrote:
>
>> [?] I don't see how a path issue causes certain libraries of a
>> common distribution (Enthought Canopy 1.1.1) to not be loadable.
>
> OS X ships with a version of python. Programs find this by looking at
> the locations specified via the PATH variable.
>
> This means that if you install a custom version of python, then you can
> make it be used by altering PATH, or if you just need it to be used by
> TextMate, you can set the TM_PYTHON variable.
>
> It?s unclear to me if you installed the networkx module for the system
> python, or you installed a completely new version of python with its own
> modules, but I do think you did the latter.
>
> This means that you need to instruct TextMate to use this new version of
> python, e.g. by setting TM_PYTHON.
>
> First though you need to figure out if a) this is actually what you did,
> and b) where this new version of python was installed.
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 66, Issue 17
> ****************************************
I posted this to Github here:
https://github.com/textmate/python.tmbundle/issues/34#issuecomment-28008122
Essentially, I upgraded recently to the latest TextMate alpha version and immediately could not load networkx and scipy libraries, though all other libraries can be loaded. Some have mentioned the need for path variables, I tried these and there is no difference. Further, I don't see how a path issue causes certain libraries of a common distribution (Enthought Canopy 1.1.1) to not be loadable.
Any help is appreciated,
-Dave
This is not a bug report but a question on how I could improve TM for my
personal use.
I use a macro \myhyperbibitem that extends the usual \bibitem to allow
hyperlinks in the bibliography. (If you're curious:
http://tex.stackexchange.com/questions/39177/web-links-in-the-bibliographic…
)
Is it too difficult to edit the LaTeX bundle so that the drop-down menu that
appears when I hit Command+Esc on \cite{} also includes both kinds of labels
(\bibitem and \myhyperbibitem)?
Here's an example:
\myhyperbibitem[St]{http://tex.stackexchange.com/}{Stack} Stackexchange --
Tex
\bibitem[Ho]{Hobbit} J.R.R. Tolkien. The Hobbit.
In this case, the labels that should appear on the drop-down list are
"Stack" and "Hobbit".
PS: Thank you Allan for solving the \ref{} problem.
-----
Jairo Bochi
http://www.mat.puc-rio.br/~jairo/
--
View this message in context: http://textmate.1073791.n5.nabble.com/LaTeX-Improving-bibliographical-label…
Sent from the textmate users mailing list archive at Nabble.com.
With 9491I am experiencing a problem that occurs when I switch from one document in a tab to another document in a tab. If I move the cursor to, say, line 196 in one document, then move to the document behind another tab, once I return to the document behind the first tab, the cursor is still on line 196 but the document scrolls (quickly) up about a page (around line 126 in the case I am looking at right now) so that the cursor is no longer in view.
I run TextMate on OS 10.9, this happens on LaTeX documents.
Is anyone else experiencing this?
Kyle
--------------------------------------
Kyle Johnson
Linguistics Department
University of Massachusetts
Amherst, MA 01003
Looking for help with language grammar. Coding in perl, and adding pod (documentation) within a codeblock, pod code gets automatically indented. Is there a way to have lines that begin with a = symbol auto- 'out-dent'? And then any subsequent lines, before a '=cut' line to be indented to match the previous line?
It's been a long time since I've looked at the language grammars in TM and, if they've changed in TM2 then I'm starting afresh. Any clues where to start would be gratefully received.
--
Justin Catterall www.masonsmusic.co.uk
Director T: +44 (0)1424 427562
Masons Music Ltd F: +44 (0)1424 434362
For full company details see our web site
TextMate version 2.0-alpha.9495 on OS X 10.9 (Mavericks)
Clean install, no customisations, using the version of Apache that comes with Mavericks.
Bundles > Apache > Open Config…
fails with the following:
> sh: : command not found
> Open Config…:40:in `load': Cannot parse a NULL or zero-length data (OSX::PropertyListError)
> from Open Config…:40
Should I report this to the Apache bundle maintainer? If so, is this the right place to report an issue:
https://github.com/textmate/apache.tmbundle/issues
Thanks in advance.
Best, Darren
Hi,
I'm trying to symlink parts of my Application Support folder off into
Dropbox so I can share between machines.
In doing so, I noticed some rather odd behaviour. My belief was that
TextMate2 used the ~/Application Support/Avian folder for everything you
install and all it's deltas but that it still loads items from
~/Application Support/TextMate so that you can pull your old
bundles/plugins etc. from TextMate1.
However, there seem to be inconsistencies. When I double click a .tmbundle
file, this seems to be installed into the Avian folder but when I double
click a .tmplugin file this goes into the TextMate folder.
Am I completely misunderstanding how this stuff works? Which of the folders
is it I need to symlink out, or both to be able to share between machines?
Dom
I just installed 10.9 on my 15-inch, Mid 2010 MacBook Pro. gfxCardStatus is now
telling me that whenever Textmate (2.0-alpha.9489) is running, the system uses
the nVidia discrete graphics card. Textmate is listed in the Dependencies, so
it is definitely what is causing the switch. Textmate is also listed as an App
Using Significant Energy under the battery status menu.
I don't think this was happening before the upgrade to Mavericks, though it
might have come in with the latest build of TM and I just didn't notice.
Anybody else seen this?
After a few years using Textmate to type LaTeX, I updated to Textmate 2. I'm
happy with it but I still have a few problems.
The label completion ceased to work. I type \ref{} and press Command+Esc,
but instead of getting a list of labels I get the following error message on
a window:
Failure running “Label Based on Current Word / Selection…”.
Label Based on Current Word / Selection…:9: invalid regular expression;
there's no previous pattern, to which '{' would define cardinality at 1:
/{}/ (RegexpError)
Does this mean it hasn't found any labels? Of course, I'm testing this on a
file where (many) labels were defined.
BTW, completion for bibliographical labels (\cite{}) is working as before.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Latex-label-completion-in-Textmate-2-…
Sent from the textmate users mailing list archive at Nabble.com.
I have found how to disable parent autocomplete, here the step:
- Bundles Menu -> Edit Bundles
- Select PHP -> Menu Actions -> Declarations -> Insert Call to Parent
- Remove check mark on Enable this item
- Save
Hello, I'am a new member.
I found a bug in version 2.0-alpha.9495 when I have the $parent variable and press tab after that, I get autocomplete I did not expect:
- When the $parent variable in the function in a class, such as the example below:
class myClass {
public function myFunction ($attr ='') {
$parent{tab}
}
}
Will produce:
class myClass {
public function myFunction ($attr ='') {
$parent::myFunction($attr);
}
}
- When the variable in the class, such as the example below:
class myClass {
public $parent{tab}
}
Will result in:
class myClass {
public $
}parent
- When the variable in the php file, not in the last line, such as the example below:
<?php
$parent{tab}
function myFunction () { }
?>
Will result in:
<?php
$
function myFunction () { }
?>parent
- When the variable below the function , such as the example below:
<?php
function myFunction () { }
$parent{tab}
?>
Will result in:
<?php
function myFunction () { }
$parent::myFunction();
?>
However, if $parent variable in the empty php file and the last line, will result in a tab character should be.
How can I disable the autocomplete function on the tab?
Thank you
Hi Everyone
Just started using TextMate 2 yesterday for coding websites (html5, css, php) and I really like it so far. It's running very stable on OS X mountain lion (not one crash yet). I'm sick of using Dreamweaver because it has bugs and other free titles like blueGriffon are still too buggy on the Mac. The find and replace window you guys built trashes dreamweaver's and runs really fast (except find/replace for "open files" is grayed out). Tabs are great, love the file browser as well. All in all it works fast, stable and looks great.
I'm not a programmer by trade so I hope to give you all some feedback coming from an artist's perspective as I work and see places for improvement.
So far I cannot get my PHP sites to preview. I get errors that the files can't be found even though they are there and if I preview in my browser using MAMP they work fine and also validate with using Validator S.A.C.
I also noticed that when adding php into parts of HTML the syntax highlighting is not consistent (see image below). This primarily happens when doing something like this:
<div class="headerBanner <?php echo $bannerClass; ?>">
<div class="bannerText"><p><?php echo $bannerText; ?></p></div>
</div>
Also, when using simple PHP stuff like this and not adding a semicolon at the end it also messes up the following syntax highlighting. As far as I know having the semicolon is optional in a case like this. See following images.
Some features I'd like to see added in the future:
It would be nice to have robust preferences/tool for creating syntax highlighting themes and an option to adjust the highlight color. The dark background themes you have are great but I would like to adjust them without having to get into coding since I'm not a programmer. Dreamweaver is pretty good at this although the preview window it gives you is way too small with too little example code. Something like that only done properly would be ideal, and the ability to save and pull up themes quickly would be nice such as in a Themes Panel.
Having icon/toolbar on the top and/or left of the UI would help for quick things, such as turning selection into a comment, uncommenting, folding, formatting, previewing, etc. Dreamweaver users will be familiar with this. For someone like me who uses so many applications, it's getting to the point where remembering more commands may cause cerebral hemorrhaging :P
Biggest thing I could use are code hints. With all the new HTML5 and CSS3 stuff sometimes it's hard to remember every property or value that is accepted. A simple little contextual list that pops up to the right of the code one is typing would be great. I'm sure this would be a bit involved if you haven't started building it but is so handy for web development. blueGriffon has this feature so there should be a way you can do this and avoid patent problems.
Would be great to be able to show favorites panel and the file browser simultaneously and be able to move their location and adjust the divider(s) between them. Ideally, the ability to move panels around allows each user to put things where they want them. The way QT does this is nice although not FOSS.
I would also like to see support for RTF text format. I'd rather use TextMate instead of Apple's TextEdit but it seems I can only make plain text files in TextMate. This would not be for crazy layout/design stuff, but just for taking notes and technical documents so I can use different fonts on my system and adjust font size and styling (B/I/U) on a per character/word/paragraph basis, add hyperlinks, and toss in the occasional image if needed. Basically what an email client allows you to do. If there is a way to do this now please let me know.
I would also like to see some additional formatting options for web development. For CSS control+Q works great, but control+alt+Q removes ALL the spaces. Having more control over this would help during different stages of a project so it's legible until I want to strip the spaces before pushing live. Dreamweaver let's you set various global preferences for CSS formatting like this. It would be nice to be able to adjust this in the preferences so I can get spaces in between properties for legibility:
example: html{height:100%;width:100%;} would become--> html { height:100%; width:100%; }
Also, for formatting (at least CSS), having options like this would help: space before comment, space after comment, one selector per line, one property per line. This way when formatting the file and not just a selection, things would be properly spaced apart, indented, etc. Either the prefs should allow for globally setting this, or variations on control+Q should do it (I also detest using the control key so maybe.
Something that would also be cool is to convert text to HTML ASCII and other methods of munging text and email addresses. I saw the ROT13 stuff but that might be more than needed for what I do in most cases and not sure how compatible it is (i.e. if a user has javascript disabled).
-----------------------
Here's a few more things to look at for future builds.
HTML and PHP do not auto-format properly. The HTML "Tidy" feature adds in doctype and extra tags I don't need because I'm using PHP and includes to build sites. There should be a way to format HTML and PHP (html files, php files with html, or php functions file) where it indents things properly, leaves spaces between different parts of the document that users can specify, and corrects orphaned or unclosed tags and such. If I try to control+Q on PHP functions it moves them all to the bottom of the document away from the comments and just jacks it all up. Same with control+alt+Q. Examples below of before and after.
When reformatting CSS with @font-face, control+alt+Q produces weird results and some strange looking white box symbol. control+Q works fine.
--------------------------
Anyway, hope some of the explanations will help. I'm not a programmer so the most I can do is make suggestions. If you'd like me to mockup any of my ideas as far as how they could work in a UI, let me know.
thanks
D
brieftrager(a)bigzite.com