Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
UP_CASE_VARIABLE to UpCaseVariable
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Waters, Bill  
View profile  
 More options Nov 19 2012, 5:28 pm
From: "Waters, Bill" <wat...@ti.com>
Date: Mon, 19 Nov 2012 22:27:23 +0000
Local: Mon, Nov 19 2012 5:27 pm
Subject: UP_CASE_VARIABLE to UpCaseVariable

Does anyone have a plugin or clever substitution that will convert from an all upper case variable (UP_CASE_VARIABLE) to a camel-case variable (UpCaseVariable), and vice versa?

Thanks,
Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Beckett  
View profile  
 More options Nov 19 2012, 6:19 pm
From: "John Beckett" <johnb.beck...@gmail.com>
Date: Tue, 20 Nov 2012 10:19:36 +1100
Local: Mon, Nov 19 2012 6:19 pm
Subject: RE: UP_CASE_VARIABLE to UpCaseVariable

Waters, Bill wrote:
> Does anyone have a plugin or clever substitution that will
> convert from an all upper case variable (UP_CASE_VARIABLE) to
> a camel-case variable (UpCaseVariable), and vice versa?

Some suggestions are at:
http://vim.wikia.com/wiki/Converting_variables_to_or_from_camel_case

John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Fishburn  
View profile  
 More options Nov 19 2012, 8:32 pm
From: David Fishburn <dfishburn....@gmail.com>
Date: Mon, 19 Nov 2012 20:32:16 -0500
Local: Mon, Nov 19 2012 8:32 pm
Subject: Re: UP_CASE_VARIABLE to UpCaseVariable

On Nov 19, 2012, at 6:19 PM, "John Beckett" <johnb.beck...@gmail.com> wrote:

> Waters, Bill wrote:
>> Does anyone have a plugin or clever substitution that will
>> convert from an all upper case variable (UP_CASE_VARIABLE) to
>> a camel-case variable (UpCaseVariable), and vice versa?

> Some suggestions are at:
> http://vim.wikia.com/wiki/Converting_variables_to_or_from_camel_case

I am surprised that didnt reference the keepcase.vim script which I think is great.
http://www.vim.org/scripts/script.php?script_id=6

If it meets your requirements.

--
David Fishburn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bee  
View profile  
 More options Nov 19 2012, 10:02 pm
From: Bee <fo...@calcentral.com>
Date: Mon, 19 Nov 2012 19:02:18 -0800 (PST)
Local: Mon, Nov 19 2012 10:02 pm
Subject: Re: UP_CASE_VARIABLE to UpCaseVariable
On Nov 19, 2:28 pm, "Waters, Bill" <wat...@ti.com> wrote:

> Does anyone have a plugin or clever substitution that will convert from an all upper case variable (UP_CASE_VARIABLE) to a camel-case variable (UpCaseVariable), and vice versa?

" Titlecase A Line Or Selection
vnoremap \<F6> :s/\%V\<\(\w\)\(\w*\)\>/\u\1\L\2/ge<cr>
nmap \<F6> V\<F6>
imap \<F6> <esc>\<F6>i

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bee  
View profile  
 More options Nov 19 2012, 10:07 pm
From: Bee <fo...@calcentral.com>
Date: Mon, 19 Nov 2012 19:07:29 -0800 (PST)
Local: Mon, Nov 19 2012 10:07 pm
Subject: Re: UP_CASE_VARIABLE to UpCaseVariable
Oops... I mis-read and posted title case.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Beckett  
View profile  
 More options Nov 20 2012, 1:17 am
From: "John Beckett" <johnb.beck...@gmail.com>
Date: Tue, 20 Nov 2012 17:16:46 +1100
Local: Tues, Nov 20 2012 1:16 am
Subject: RE: UP_CASE_VARIABLE to UpCaseVariable

David Fishburn wrote:
>> Some suggestions are at:
>> http://vim.wikia.com/wiki/Converting_variables_to_or_from_camel_case

> I am surprised that didnt reference the keepcase.vim script
> which I think is great.
> http://www.vim.org/scripts/script.php?script_id=6

That script is mentioned at:
http://vim.wikia.com/wiki/Search_and_replace#Special_cases

If someone could describe how it helps with regard to converting
variables to/from camel case, that could be added to the first
tip above. Example commands with a brief statement of what they
do is best.

John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Brabandt  
View profile  
 More options Nov 20 2012, 1:38 am
From: "Christian Brabandt" <cbli...@256bit.org>
Date: Tue, 20 Nov 2012 07:38:22 +0100
Local: Tues, Nov 20 2012 1:38 am
Subject: Re: UP_CASE_VARIABLE to UpCaseVariable

I added a reference to the plugin to the mentioned wiki page.

regards,
Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Waters, Bill  
View profile  
 More options Nov 20 2012, 6:17 pm
From: "Waters, Bill" <wat...@ti.com>
Date: Tue, 20 Nov 2012 23:16:49 +0000
Local: Tues, Nov 20 2012 6:16 pm
Subject: RE: UP_CASE_VARIABLE to UpCaseVariable
Thanks!

Bill

-----Original Message-----
From: vim_use@googlegroups.com [mailto:vim_use@googlegroups.com] On Behalf Of John Beckett
Sent: Monday, November 19, 2012 3:20 PM
To: vim_use@googlegroups.com
Subject: RE: UP_CASE_VARIABLE to UpCaseVariable

Waters, Bill wrote:
> Does anyone have a plugin or clever substitution that will
> convert from an all upper case variable (UP_CASE_VARIABLE) to
> a camel-case variable (UpCaseVariable), and vice versa?

Some suggestions are at:
http://vim.wikia.com/wiki/Converting_variables_to_or_from_camel_case

John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »