Searching Typescript (.ts) files in v12.0?

2017-10-20 Thread Joe Lapp
How do I get BBEdit to include .ts files in its multi-file searches?

I'm already using a complex filter for dealing with git, npm, and 
Typescript build directories. I also have .js files in the mix.

Since .ts is not included among the supported languages in the new release, 
I assume that Typescript is not a priority? I've installed this:
https://gist.github.com/isao/5f6fbe89a438086c36d8

I'm moving to mostly Typescript dev, and I fear this may be the end of my 
decade run with BBEdit.

~joe

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Searching Typescript (.ts) files in v12.0?

2017-10-24 Thread Joe Lapp
Got the update, it works, and I'm happy again. THANK YOU

On Friday, October 20, 2017 at 11:21:27 AM UTC-5, Rich Siegel wrote:
>
> On 10/20/17 at 12:13 PM, arach...@gmail.com  (Joe Lapp) 
> wrote: 
>
> >How do I get BBEdit to include .ts files in its multi-file searches? 
>
> Update to 12.0.1 when it's released (shortly). 
>
> ".ts" is a factory default mapping for TypeScript (which looks 
> enough like JavaScript to pass as such), but if you open a ".ts" 
> file and it's not recognized as JavaScript, you can add the 
> mapping in the Languages preferences. 
>
> R. 
> -- 
> Rich Siegel Bare Bones Software, Inc. 
> >  <
> http://www.barebones.com/> 
>
> Someday I'll look back on all this and laugh... until they 
> sedate me. 
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Searching Typescript (.ts) files in v12.0?

2017-10-25 Thread Joe Lapp
Your support for dark workspaces and Typescript searches came just in time.

I was getting used to a dark theme in Visual Studio Code, but I've thrown 
up my hands in frustration at VSC's nonsensical autoindentation. I was 
keeping files open in both BBedit and VSC anyway. Glad I can now return to 
using BBedit all the way.

However, I have a feature request. In VSC, I can specify color theme deltas 
relative to the current color theme. That way my deltas stick even as the 
original color theme gets maintained. I get theme updates while still 
getting my preferences. Win-win. I'd like the same in BBedit.

I'll send a note to support.

~joe

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


<#> in source code redefines the tab key (!)

2017-10-26 Thread Joe Lapp
I've just encountered the weirdest behavior in BBedit 12.0.1.

Create the following Javascript file:

```
/*
command: DOIT someTerm<#>|anotherTerm<#>
*/

function doIt() {

let x = 1;
}
```

Put the cursor anywhere in the file, and hit the tab key. You will never 
get a tab. Instead the editor highlights: "<#>|anotherTerm<#>". If there 
are multiple such <#>s in the file, the tab key cycles the highlight among 
pairs of <#>s.

I guess I have to change my comment to something BBedit can handle.

~joe

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Looking for a functional Typescript language module

2017-10-27 Thread Joe Lapp
I have a serious problem while using Typescript.plist from 
https://gist.github.com/davethesoftwaredev/4056693

When installed, BBedit gets very slow entering text in files of extension 
'.ts'. For example, enter this:

function someVeryLongFunctionName() { }

function anotherVeryLongFunctionName() { }

function stillAnotherVeryLongFunctionName() { }

/*
The more times you duplicate this line, the slower typing gets. Try about 
500.
*/

Duplicate that comment line many times. Then try typing within the file. It 
takes about two seconds to insert each character.

I did quite a bit of experimenting to reduce my code to the above clip. I 
had a few hundred lines of code and only a few end-of-line comments 
sprinkled about. Replace that long comment with lots of code, and you get 
the same effect.

The effect vanishes when you greatly shorten the function names. The longer 
the function name, the longer character insertion takes. The more long 
function names you have, the longer and longer it takes to insert a 
character. I tend to be pretty descriptive with my function names, so my 
Typescript files are slowing to a crawl.

I haven't tried experimenting with other sort of identifiers to see if they 
produce the same effect.

I'm using BBedit 12.0.1 on macOS 10.12.6. Text completion is set to "only 
manually." Checking/unchecking "display instances of selected text" has no 
effect, nor does changing its indicated delay.

The problem vanished when I uninstalled Typescript.plist, but then I don't 
get color highlighting.

Does BBedit have a serious language module for Typescript somewhere? Thanks!

~joe

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: <#> in source code redefines the tab key (!)

2017-10-27 Thread Joe Lapp
On Thursday, October 26, 2017 at 7:29:35 AM UTC-5, Rich Siegel wrote:
>
> >I've just encountered the weirdest behavior in BBedit 12.0.1. [...] 
>
>  From just the other day: <
> https://groups.google.com/d/msg/bbedit/J034jhGp--o/jEgax0QqBgAJ>. 


Oh wow thanks. I'm still calling it weird though. ;-)

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Looking for a functional Typescript language module

2017-10-27 Thread Joe Lapp
On Friday, October 27, 2017 at 8:45:56 AM UTC-5, Rich Siegel wrote:
>
> Typescript is enough like JavaScript that the built-in 
> JavaScript module should be fit for purpose. The factory default 
> extension mappings include a "ts" to JavaScript mapping for this reason.


When I drop the Typescript.plist module, I find that half of my .ts files 
don't get highlighted at all.

I'm doing something wrong, there's a bug, or your assumption doesn't hold.

I'm off investigating Sublime. I'm tired of fighting BBedit for Typescript.

Nothing beats BBedit's multi-file search facility, so I'll still be using 
it for that.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.