Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-18-2020, 03:39 AM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Notepad++ Custom Language

Im just wondering if anyone has a custom language file for formatting vBulletin XML better in notepad++

I've been using it alot lately and I just cant be bothered to mess with a language, just thought I'd ask =)
Reply With Quote
  #2  
Old 06-19-2020, 11:57 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you asking what others user to edit xml files?
Reply With Quote
  #3  
Old 06-20-2020, 08:54 AM
PinkMilk PinkMilk is offline
 
Join Date: May 2010
Location: Earth
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not try installing different Notepad++ Theme, sometimes a different colour scheme can help.
Reply With Quote
  #4  
Old 06-24-2020, 01:01 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No a custom language file, I found one YEARS ago, but cant seem to find it anywhere anymore. What it will do is the standard xml syntax highlighting, but also syntax highlight the PHP, HTML, and CSS within the XML.

It's not difficult to make, just time consuming. I find myself opening 4 tabs when creating a product so i do all my PHP in one, CSS in another and HTML in another. It's just more handy to be able top do it all in one file.

Notice in the screenshot the PHP is all white.
Attached Images
File Type: jpg 2020-06-24_10-57-03.jpg (44.7 KB, 0 views)
Reply With Quote
  #5  
Old 06-24-2020, 02:27 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.CustUmz View Post
No a custom language file, I found one YEARS ago, but cant seem to find it anywhere anymore. What it will do is the standard xml syntax highlighting, but also syntax highlight the PHP, HTML, and CSS within the XML.

It's not difficult to make, just time consuming. I find myself opening 4 tabs when creating a product so i do all my PHP in one, CSS in another and HTML in another. It's just more handy to be able top do it all in one file.

Notice in the screenshot the PHP is all white.
XML files open this way for me in Notepad++

Have you saved the files as XML and reopened them to see if it makes a difference?
Reply With Quote
  #6  
Old 06-24-2020, 02:32 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a screenshot of what my Notepad++ XML files look like.
Attached Images
File Type: jpg xml.jpg (117.8 KB, 0 views)
Reply With Quote
  #7  
Old 06-26-2020, 05:04 AM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by In Omnibus View Post
Here's a screenshot of what my Notepad++ XML files look like.
if only there was a facepalm emoji on here lol...

I am fully aware of how XML syntax highlighting is, what I'm asking for is a custom language file for while developing products. it would no longer be xml, php, css, ect highlighting language. But all merged into one to form a vBulletin language. This has been done, I used it in the past, but I guess when I find time I will just make one myself. Like I said not difficult, just time consuming.
Reply With Quote
  #8  
Old 06-26-2020, 06:55 AM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.CustUmz View Post
if only there was a facepalm emoji on here lol...
The replies have had me chuckling

The last time the question was asked everybody got it completely wrong too.


I've no idea about creating the custom language files, couldn't you copy the php one and use it as a base and then add in the custom vbulletin syntax like vb:if etc
Reply With Quote
  #9  
Old 06-26-2020, 11:26 AM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.CustUmz View Post
if only there was a facepalm emoji on here lol...

I am fully aware of how XML syntax highlighting is, what I'm asking for is a custom language file for while developing products. it would no longer be xml, php, css, ect highlighting language. But all merged into one to form a vBulletin language. This has been done, I used it in the past, but I guess when I find time I will just make one myself. Like I said not difficult, just time consuming.
OK, I completely misunderstood for what you were asking.

I am confused though as to why you would want a unique language file when everything in software is codependent upon something else being able to recognize and read it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04307 seconds
  • Memory Usage 2,266KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete