vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Notepad++ Custom Language (https://vborg.vbsupport.ru/showthread.php?t=328106)

Dr.CustUmz 06-18-2020 03:39 AM

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

Brandon Sheley 06-19-2020 11:57 AM

Are you asking what others user to edit xml files?

PinkMilk 06-20-2020 08:54 AM

Why not try installing different Notepad++ Theme, sometimes a different colour scheme can help.

Dr.CustUmz 06-24-2020 01:01 PM

1 Attachment(s)
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.

In Omnibus 06-24-2020 02:27 PM

Quote:

Originally Posted by Dr.CustUmz (Post 2603345)
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?

In Omnibus 06-24-2020 02:32 PM

1 Attachment(s)
Here's a screenshot of what my Notepad++ XML files look like.

Dr.CustUmz 06-26-2020 05:04 AM

Quote:

Originally Posted by In Omnibus (Post 2603347)
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.

z3r0 06-26-2020 06:55 AM

Quote:

Originally Posted by Dr.CustUmz (Post 2603361)
if only there was a facepalm emoji on here lol...

The replies have had me chuckling :p

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

In Omnibus 06-26-2020 11:26 AM

Quote:

Originally Posted by Dr.CustUmz (Post 2603361)
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.


All times are GMT. The time now is 11:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02056 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete