Re: PHP development ?

2018-07-20 Thread Greg Raven
You use Vagrant to set up a development environment (in VirtualBox, for 
example). There used to be a program called Hobo that made this easier, but 
it's always seemed non-trivial to me. The benefit is that once you have a 
Vagrant process (or whatever they are called) set up, you can run it at any 
time to set up a new instance for other projects, or simply to scrap and 
reorder the one you're currently using. If you are working with a team, you 
can also share Vagrant processes so that everyone is using the same 
development environment.

For me, the game isn't worth the candle. I could have an entire website set 
up and running by the time I figured out how to get Vagrant working. Your 
mileage may vary.

On Friday, July 20, 2018 at 8:21:41 PM UTC-7, Jean-Christophe Helary wrote:
>
>
>
> On Jul 21, 2018, at 0:06, bruce linde > 
> wrote:
>
> mamp, git, vagrant.
>
> i’ve been using mamp forever but my partner pushed me to try vagrant... 
> i’m now running both.
>
>
> I'm checking Vagrant and I'm not sure how I could use that for Web/PHP 
> development. Could you develop on that ?
>
> Jean-Christophe 
>
>
> On Jul 20, 2018, at 6:11 AM, Jean-Christophe Helary  > wrote:
>
>
> On Jul 20, 2018, at 22:00, Greg Raven > 
> wrote:
>
>
> The best way I have found to do this is to have your PHP files in a BBEdit 
> project,
>
>
> I've created a project for my files (I find projects hard to navigate, 
> namely no apparent way to move around without having to use the mouse, but 
> maybe I'm missing something). Basically a bunch of WP files.
>
> and then set the project settings to open a local website.
>
>
> Can you be more specific ?
>
> To have a local website, you can use any of a number of methods, including 
> MAMP, HostBuddy, VirtualHostX, VirtualBox, etc.,
>
>
> I'm using MAMP. I have the test site and the "production" site side by 
> side, both managed under git and I'll be setting up sync to make sure I 
> have everything under control. Then I need to find a way to sync to the ftp 
> server (I don't have a clear idea how to do that but I'll get there 
> eventually...)
>
> Jean-Christophe 
>
> or you can set up your local Apache server to serve your site locally with 
> PHP. I just use the built-in Apache with modifications to the httpd.conf, 
> hosts, and vhosts files. There are a couple of fiddly bits involved when 
> doing it this way, but you don't have to download and maintain anything and 
> it works just fine.
>
> On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary 
> wrote:
>>
>>
>>
>> On Jul 20, 2018, at 10:04, Scott in Pollock  wrote:
>>
>> You'll need a local server running PHP. Google 'MAMP'.
>>
>>
>> Sorry if that was not clear. I do have everything set up already.
>>
>> I just need BBedit to "preview" my files not by calling file://... but by 
>> calling http/localhost/...
>>
>> What's happening now is that I edit/save PHP on BBedit and the switch to 
>> Safari and reload. That's not practical. Is there a way to do call that 
>> preview from BBedit directly ?
>>
>
> Jean-Christophe Helary
> ---
> http://mac4translators.blogspot.com @brandelune
>
>
>

-- 
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: PHP development ?

2018-07-20 Thread Jean-Christophe Helary


> On Jul 21, 2018, at 0:06, bruce linde  wrote:
> 
> mamp, git, vagrant.
> 
> i’ve been using mamp forever but my partner pushed me to try vagrant... i’m 
> now running both.

I'm checking Vagrant and I'm not sure how I could use that for Web/PHP 
development. Could you develop on that ?

Jean-Christophe 


> On Jul 20, 2018, at 6:11 AM, Jean-Christophe Helary  > wrote:

>> On Jul 20, 2018, at 22:00, Greg Raven > > wrote:
>>> 
>>> The best way I have found to do this is to have your PHP files in a BBEdit 
>>> project,
>> 
>> I've created a project for my files (I find projects hard to navigate, 
>> namely no apparent way to move around without having to use the mouse, but 
>> maybe I'm missing something). Basically a bunch of WP files.
>> 
>>> and then set the project settings to open a local website.
>> 
>> Can you be more specific ?
>> 
>>> To have a local website, you can use any of a number of methods, including 
>>> MAMP, HostBuddy, VirtualHostX, VirtualBox, etc.,
>> 
>> I'm using MAMP. I have the test site and the "production" site side by side, 
>> both managed under git and I'll be setting up sync to make sure I have 
>> everything under control. Then I need to find a way to sync to the ftp 
>> server (I don't have a clear idea how to do that but I'll get there 
>> eventually...)
>> 
>> Jean-Christophe 
>> 
>>> or you can set up your local Apache server to serve your site locally with 
>>> PHP. I just use the built-in Apache with modifications to the httpd.conf, 
>>> hosts, and vhosts files. There are a couple of fiddly bits involved when 
>>> doing it this way, but you don't have to download and maintain anything and 
>>> it works just fine.
>>> 
>>> On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary 
>>> wrote:
>>> 
>>> 
 On Jul 20, 2018, at 10:04, Scott in Pollock > 
 wrote:
 
 You'll need a local server running PHP. Google 'MAMP'.
>>> 
>>> Sorry if that was not clear. I do have everything set up already.
>>> 
>>> I just need BBedit to "preview" my files not by calling file://... but by 
>>> calling http/localhost/...
>>> 
>>> What's happening now is that I edit/save PHP on BBedit and the switch to 
>>> Safari and reload. That's not practical. Is there a way to do call that 
>>> preview from BBedit directly ?


Jean-Christophe Helary
---
http://mac4translators.blogspot.com @brandelune


-- 
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: How to best manage windows in different Mission Control "Spaces" ?

2018-07-20 Thread Marshall Clow
On Jul 20, 2018, at 10:51 AM, Rich Siegel  wrote:
> 
> On 7/20/18 at 1:28 PM, bbedit@googlegroups.com ('StefanW' via BBEdit
> Talk) wrote:
> 
>> When launching BBEdit, all the previously-open windows across the
>> different Spaces all open in the same Space - the active one. I have
>> to then spend several minutes manually clicking-and-dragging each
>> window into the Space where it had been. Keyboard Maestro (which I
>> have) doesn't support Spaces, but even a macro program that did would
>> require lots of effort to manage the macros since it's a fairly
>> dynamic collection of BBEdit windows in each Space.
> 
> Unfortunately, Spaces are opaque to applications, and there's no way that we 
> can either know what Space a window is in, nor put a window back into a 
> specific Space.
> 
> I've inquired of Apple engineering about this, and the response is that while 
> the OS will restore windows to their Spaces after a restart or logout, it 
> will not do so across a simple application quit/relaunch cycle.

This has not been my experience with BBEdit.

BBEdit’s windows always end up in the main space (Desktop #1) after a 
reboot/logout.
[ Note that all my BBEdit windows tend to live in a single “space”, so this is 
not quite the same as the OP’s question. ]

A few other applications (Terminal, for example) manage to get this right; but 
most do not.

— Marshall

-- 
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: How to best manage windows in different Mission Control "Spaces" ?

2018-07-20 Thread Rich Siegel

On 7/20/18 at 1:28 PM, bbedit@googlegroups.com ('StefanW' via BBEdit
Talk) wrote:


When launching BBEdit, all the previously-open windows across the
different Spaces all open in the same Space - the active one. I have
to then spend several minutes manually clicking-and-dragging each
window into the Space where it had been. Keyboard Maestro (which I
have) doesn't support Spaces, but even a macro program that did would
require lots of effort to manage the macros since it's a fairly
dynamic collection of BBEdit windows in each Space.


Unfortunately, Spaces are opaque to applications, and there's no 
way that we can either know what Space a window is in, nor put a 
window back into a specific Space.


I've inquired of Apple engineering about this, and the response 
is that while the OS will restore windows to their Spaces after 
a restart or logout, it will not do so across a simple 
application quit/relaunch cycle.


Sorry,

R.
--
Rich Siegel Bare Bones Software, Inc.
  

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: 
--- 
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.


How to best manage windows in different Mission Control "Spaces" ?

2018-07-20 Thread 'StefanW' via BBEdit Talk
Hi everyone --

(This might be my first forum post ever, even though I've been using BBEdit 
since at least 2004!)

I've searched & browsed through this forum, the manual, and the expert 
prefs but can't find anything on this...

I'm a heavy user of Mission Control "Spaces" to segregate windows for 
different projects.
https://support.apple.com/kb/PH25574

I generally have more than 30 Text Document windows and more than 15 BBEdit 
Project & Disk Browser windows open at any time. They are typically grouped 
into three or four different Spaces, each of which represents a different 
project. When everything is arranged into those Spaces, life is good... 
until I have to quit BBEdit. 

When launching BBEdit, all the previously-open windows across the different 
Spaces all open in the same Space - the active one. I have to then spend 
several minutes manually clicking-and-dragging each window into the Space 
where it had been. Keyboard Maestro (which I have) doesn't support Spaces, 
but even a macro program that did would require lots of effort to manage 
the macros since it's a fairly dynamic collection of BBEdit windows in each 
Space. 

I've tried making a BBEdit Project to be a meta-Project container of other 
Projects, but adding a Project to a Project only reveals the four 
normally-hidden files that make up the Package Contents. 

Any suggestions on how I can get windows to re-open into a different 
Mission Control Space, or how I can streamline getting the windows where I 
want them after launching BBEdit?

Thanks!


-- Stefan


-- 
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: PHP development ?

2018-07-20 Thread bruce linde
mamp, git, vagrant.

i’ve been using mamp forever but my partner pushed me to try vagrant... i’m now 
running both.







> On Jul 20, 2018, at 6:11 AM, Jean-Christophe Helary  
> wrote:
> 
> 
> 
>> On Jul 20, 2018, at 22:00, Greg Raven  wrote:
>> 
>> The best way I have found to do this is to have your PHP files in a BBEdit 
>> project,
> 
> I've created a project for my files (I find projects hard to navigate, namely 
> no apparent way to move around without having to use the mouse, but maybe I'm 
> missing something). Basically a bunch of WP files.
> 
>> and then set the project settings to open a local website.
> 
> Can you be more specific ?
> 
>> To have a local website, you can use any of a number of methods, including 
>> MAMP, HostBuddy, VirtualHostX, VirtualBox, etc.,
> 
> I'm using MAMP. I have the test site and the "production" site side by side, 
> both managed under git and I'll be setting up sync to make sure I have 
> everything under control. Then I need to find a way to sync to the ftp server 
> (I don't have a clear idea how to do that but I'll get there eventually...)
> 
> Jean-Christophe 
> 
>> or you can set up your local Apache server to serve your site locally with 
>> PHP. I just use the built-in Apache with modifications to the httpd.conf, 
>> hosts, and vhosts files. There are a couple of fiddly bits involved when 
>> doing it this way, but you don't have to download and maintain anything and 
>> it works just fine.
>> 
>>> On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary 
>>> wrote:
>>> 
>>> 
 On Jul 20, 2018, at 10:04, Scott in Pollock  wrote:
 
 You'll need a local server running PHP. Google 'MAMP'.
>>> 
>>> Sorry if that was not clear. I do have everything set up already.
>>> 
>>> I just need BBedit to "preview" my files not by calling file://... but by 
>>> calling http/localhost/...
>>> 
>>> What's happening now is that I edit/save PHP on BBedit and the switch to 
>>> Safari and reload. That's not practical. Is there a way to do call that 
>>> preview from BBedit directly ?
>>> 
>>> 
>>> Jean-Christophe Helary
>>> ---
>>> http://mac4translators.blogspot.com @brandelune
>>> 
>>> 
>> 
>> 
>> -- 
>> 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.
> 
> Jean-Christophe Helary
> ---
> http://mac4translators.blogspot.com @brandelune
> 
> 
> -- 
> 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.

-- 
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: PHP development ?

2018-07-20 Thread Jean-Christophe Helary
> Hope this helps.

It sure does :) Thank you Greg !

JC

> On Jul 20, 2018, at 22:34, Greg Raven  wrote:
> 
> When you have your project open in BBEdit, in the bottom left corner of the 
> window, along the bottom, there are five icons. The "raining cloud" icon is 
> the one you want. Click on it and select "Site Settings …" at the top of the 
> pop-up list. Enable the "Use local preview server" option and fill in the URL 
> of your local instance (such as "http://wp-php-project.local;).
> 
> I'm guessing that you have only the wp-content folder (or some sub-folder of 
> wp-content) in your project. Otherwise, it gets messy.
> 
> For those without MAMP, Local by Flywheel is an excellent alternative for 
> local WordPress development.
> 
> Hope this helps.
> 
> On Friday, July 20, 2018 at 6:11:30 AM UTC-7, Jean-Christophe Helary wrote:
> 
> 
>> On Jul 20, 2018, at 22:00, Greg Raven > wrote:
>> 
>> The best way I have found to do this is to have your PHP files in a BBEdit 
>> project,
> 
> I've created a project for my files (I find projects hard to navigate, namely 
> no apparent way to move around without having to use the mouse, but maybe I'm 
> missing something). Basically a bunch of WP files.
> 
>> and then set the project settings to open a local website.
> 
> Can you be more specific ?
> 
>> To have a local website, you can use any of a number of methods, including 
>> MAMP, HostBuddy, VirtualHostX, VirtualBox, etc.,
> 
> I'm using MAMP. I have the test site and the "production" site side by side, 
> both managed under git and I'll be setting up sync to make sure I have 
> everything under control. Then I need to find a way to sync to the ftp server 
> (I don't have a clear idea how to do that but I'll get there eventually...)
> 
> Jean-Christophe 
> 
>> or you can set up your local Apache server to serve your site locally with 
>> PHP. I just use the built-in Apache with modifications to the httpd.conf, 
>> hosts, and vhosts files. There are a couple of fiddly bits involved when 
>> doing it this way, but you don't have to download and maintain anything and 
>> it works just fine.
>> 
>> On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary wrote:
>> 
>> 
>>> On Jul 20, 2018, at 10:04, Scott in Pollock > wrote:
>>> 
>>> You'll need a local server running PHP. Google 'MAMP'.
>> 
>> Sorry if that was not clear. I do have everything set up already.
>> 
>> I just need BBedit to "preview" my files not by calling file://... but by 
>> calling http/localhost/...
>> 
>> What's happening now is that I edit/save PHP on BBedit and the switch to 
>> Safari and reload. That's not practical. Is there a way to do call that 
>> preview from BBedit directly ?
>> 
>> 
>> Jean-Christophe Helary
>> ---
>> http://mac4translators.blogspot.com  
>> @brandelune
>> 
>> 
>> 
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a 
>> feature request or would like to report a problem, please email
>> "sup...@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+un...@googlegroups.com <>.
>> To post to this group, send email to bbe...@googlegroups.com <>.
>> Visit this group at https://groups.google.com/group/bbedit 
>> .
> 
> Jean-Christophe Helary
> ---
> http://mac4translators.blogspot.com  
> @brandelune
> 
> 
> 
> -- 
> 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 
> .

Jean-Christophe Helary
---
http://mac4translators.blogspot.com @brandelune


-- 
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 

Re: PHP development ?

2018-07-20 Thread Greg Raven
When you have your project open in BBEdit, in the bottom left corner of the 
window, along the bottom, there are five icons. The "raining cloud" icon is 
the one you want. Click on it and select "Site Settings …" at the top of 
the pop-up list. Enable the "Use local preview server" option and fill in 
the URL of your local instance (such as "http://wp-php-project.local;).

I'm guessing that you have only the wp-content folder (or some sub-folder 
of wp-content) in your project. Otherwise, it gets messy.

For those without MAMP, Local by Flywheel is an excellent alternative for 
local WordPress development.

Hope this helps.

On Friday, July 20, 2018 at 6:11:30 AM UTC-7, Jean-Christophe Helary wrote:
>
>
>
> On Jul 20, 2018, at 22:00, Greg Raven > 
> wrote:
>
> The best way I have found to do this is to have your PHP files in a BBEdit 
> project,
>
>
> I've created a project for my files (I find projects hard to navigate, 
> namely no apparent way to move around without having to use the mouse, but 
> maybe I'm missing something). Basically a bunch of WP files.
>
> and then set the project settings to open a local website.
>
>
> Can you be more specific ?
>
> To have a local website, you can use any of a number of methods, including 
> MAMP, HostBuddy, VirtualHostX, VirtualBox, etc.,
>
>
> I'm using MAMP. I have the test site and the "production" site side by 
> side, both managed under git and I'll be setting up sync to make sure I 
> have everything under control. Then I need to find a way to sync to the ftp 
> server (I don't have a clear idea how to do that but I'll get there 
> eventually...)
>
> Jean-Christophe 
>
> or you can set up your local Apache server to serve your site locally with 
> PHP. I just use the built-in Apache with modifications to the httpd.conf, 
> hosts, and vhosts files. There are a couple of fiddly bits involved when 
> doing it this way, but you don't have to download and maintain anything and 
> it works just fine.
>
> On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary 
> wrote:
>>
>>
>>
>> On Jul 20, 2018, at 10:04, Scott in Pollock  wrote:
>>
>> You'll need a local server running PHP. Google 'MAMP'.
>>
>>
>> Sorry if that was not clear. I do have everything set up already.
>>
>> I just need BBedit to "preview" my files not by calling file://... but by 
>> calling http/localhost/...
>>
>> What's happening now is that I edit/save PHP on BBedit and the switch to 
>> Safari and reload. That's not practical. Is there a way to do call that 
>> preview from BBedit directly ?
>>
>>
>> Jean-Christophe Helary
>> ---
>> http://mac4translators.blogspot.com @brandelune
>>
>>
>>
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "sup...@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+un...@googlegroups.com .
> To post to this group, send email to bbe...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/bbedit.
>
>
> Jean-Christophe Helary
> ---
> http://mac4translators.blogspot.com @brandelune
>
>
>

-- 
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: PHP development ?

2018-07-20 Thread Jean-Christophe Helary


> On Jul 20, 2018, at 22:00, Greg Raven  wrote:
> 
> The best way I have found to do this is to have your PHP files in a BBEdit 
> project,

I've created a project for my files (I find projects hard to navigate, namely 
no apparent way to move around without having to use the mouse, but maybe I'm 
missing something). Basically a bunch of WP files.

> and then set the project settings to open a local website.

Can you be more specific ?

> To have a local website, you can use any of a number of methods, including 
> MAMP, HostBuddy, VirtualHostX, VirtualBox, etc.,

I'm using MAMP. I have the test site and the "production" site side by side, 
both managed under git and I'll be setting up sync to make sure I have 
everything under control. Then I need to find a way to sync to the ftp server 
(I don't have a clear idea how to do that but I'll get there eventually...)

Jean-Christophe 

> or you can set up your local Apache server to serve your site locally with 
> PHP. I just use the built-in Apache with modifications to the httpd.conf, 
> hosts, and vhosts files. There are a couple of fiddly bits involved when 
> doing it this way, but you don't have to download and maintain anything and 
> it works just fine.
> 
> On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary wrote:
> 
> 
>> On Jul 20, 2018, at 10:04, Scott in Pollock > wrote:
>> 
>> You'll need a local server running PHP. Google 'MAMP'.
> 
> Sorry if that was not clear. I do have everything set up already.
> 
> I just need BBedit to "preview" my files not by calling file://... but by 
> calling http/localhost/...
> 
> What's happening now is that I edit/save PHP on BBedit and the switch to 
> Safari and reload. That's not practical. Is there a way to do call that 
> preview from BBedit directly ?
> 
> 
> Jean-Christophe Helary
> ---
> http://mac4translators.blogspot.com  
> @brandelune
> 
> 
> 
> -- 
> 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 
> .

Jean-Christophe Helary
---
http://mac4translators.blogspot.com @brandelune


-- 
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: PHP development ?

2018-07-20 Thread Greg Raven
The best way I have found to do this is to have your PHP files in a BBEdit 
project, and then set the project settings to open a local website. To have 
a local website, you can use any of a number of methods, including MAMP, 
HostBuddy, VirtualHostX, VirtualBox, etc., or you can set up your local 
Apache server to serve your site locally with PHP. I just use the built-in 
Apache with modifications to the httpd.conf, hosts, and vhosts files. There 
are a couple of fiddly bits involved when doing it this way, but you don't 
have to download and maintain anything and it works just fine.

On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary 
wrote:
>
>
>
> On Jul 20, 2018, at 10:04, Scott in Pollock  > wrote:
>
> You'll need a local server running PHP. Google 'MAMP'.
>
>
> Sorry if that was not clear. I do have everything set up already.
>
> I just need BBedit to "preview" my files not by calling file://... but by 
> calling http/localhost/...
>
> What's happening now is that I edit/save PHP on BBedit and the switch to 
> Safari and reload. That's not practical. Is there a way to do call that 
> preview from BBedit directly ?
>
>
> Jean-Christophe Helary
> ---
> http://mac4translators.blogspot.com @brandelune
>
>
>

-- 
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: Edit > Show Clipboard (BBEdit 10)

2018-07-20 Thread Christopher Stone
On 07/16/2018, at 16:27, Matt Kanninen mailto:mathias...@gmail.com>> wrote:
> Guess I'll have to.  Easy clipboard access was one of the main reasons I 
> decided to try BBEdit


Hey Matt,

It's about as easy as you want it to be.

See this link.

https://groups.google.com/d/msg/bbedit/gipy2Sp4R5k/SyQWt6Q5AQAJ 


The script creates a pop-up list of the various clipboard contents.

Here's another one that will dump all clipboards into new document.


# Auth: Christopher Stone
# dCre: 2018/07/20 07:32
# dMod: 2018/07/20 07:32 
# Appl: BBEdit
# Task: Dump BBEdit Clipboards to a new document.
# Libs: None
# Osax: None
# Tags: @Applescript, @Script, @BBEdit, @Dump, @BBEdit, @Clipboards, @New, 
@Document


set _sep to linefeed & linefeed & 
"" & linefeed & 
linefeed

set clipList to {}

tell application "BBEdit"
repeat with i from 1 to 6
set end of clipList to (contents of clipboard i)
end repeat
end tell

set AppleScript's text item delimiters to _sep

bbeditNewDoc(clipList as text, true)


--» HANDLERS

on bbeditNewDoc(_text, _activate)
tell application "BBEdit"
set newDoc to make new document with properties {text:_text, bounds:{0, 
44, 1920, 1200}}
tell newDoc
select insertion point before its text
end tell
if _activate = true or _activate = 1 or _activate = "activate" then 
activate
end tell
end bbeditNewDoc


Personally I recommend a clipboard manager.  They are more full-featured and 
are a great productivity enhancement.

I use LaunchBar's clipboard manager and Keyboard Maestro's for different 
reasons.

I also have scripts for BBEdit that let me save the current clipboard to 1 of 
10 pseudo-clipboards and can copy to or paste from with 1 keystroke.

--
Best Regards,
Chris

-- 
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: Where is the auto-correct?!

2018-07-20 Thread Vlad Ghitulescu

Hey Tom!


On 19 Jul 2018, at 22:56, Tom Robinson wrote:

If a word is too far from the correct spelling the system can’t 
guess it :]


Although that misspelling works for me… have you checked the 
languages in System Prefs > Languages & Regions?


Yes, Englisch is there.



BBEdit also has a setting under Edit > Spelling > Show Spelling Panel.


What does it do? I couldn't figure



Cheers


Thanks & regards,
Vlad







On 2018-07-20, at 02:45, Vlad Ghitulescu  wrote:

Hello!

It looks like the auto-correct in my BBEdit is gone





Do you have any idea how could I get it back?
I'm not aware about any changes I've made :-( but I had to reinstall 
the system a while ago and I’ve must forgot something…


--
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.


--
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.