Comments (7)
The "raw contents in clipboard" is not "the file"
The "raw contents in clipboard" is "the file" (or, more accurately, the "raw contents of the file") if you used the button on the right, which has the "Copy raw contents" hover text.
... I had hoped that that my screenshot, along with my text where I differentiate between the "Raw" button and the "copy raw contents" button, was clear enough to indicate that the left button and right button do slightly different things, but can both be used for the purpose of getting the actual XML file contents. But obviously, it was not clear enough. I guess I will have to clarify that even more.
I will also try to work in the "Open User Defined Language Folder" hint
from userdefinedlanguages.
Yes, it is a little confusing because getting "file contents" is not quite the same as getting "the file" (into the folder), which is ultimately what is needed. Thanks.
(Maybe Notepad++ just needs another menu option ;) since it could just download the file, like you could with curl:
curl -o C:\Users\me\AppData\Roaming\Notepad++\userDefineLangs\SomeUDL.xml https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/UDLs/SomeUDL.xml
from userdefinedlanguages.
While this is open, it could be pointed out that the "Copy raw contents" option is not universally supported by web browsers.
Yes, it works in Chrome and Microsoft's Edge clone, which is to say ~80% of the world's users, if StatCounter can be believed. But Firefox, Safari and Opera are all exceptions.
I'm sure browser quirks are just a tiny contributor to the confusion some users have experienced. Still, it might be better to encourage clicking the "Raw" button, and saving the plain text resource it links to. It's the one universally supported option across browsers (even mobile ones).
from userdefinedlanguages.
the "Copy raw contents" option is not universally supported by web browsers
I didn't know that: it surprises me that Firefox and Opera don't support it. (Since at home I use Chrome, and at work I use Edge, I hadn't used a browser that didn't have it.)
even mobile ones
Given that Notepad++ doesn't run on mobile, that wasn't a consideration in my mind.
But having only two major browsers (or two, since modern MS Edge uses Chromium under the hood) support that button is a good reason. Given that lack of support, I will remove the references to it before merging the PR
from userdefinedlanguages.
does this newer version describe the process better?
from userdefinedlanguages.
Yes, much better. One minor addition might be that after "... find the right userDefineLangs\ folder to place your UDL definition file...", you mention to copy the path from file explorer address bar, to be later pasted into Save As dialog.
Thanks.
from userdefinedlanguages.
Done and merged. Thanks for your input.
from userdefinedlanguages.
Related Issues (20)
- Is there no UDL for scripting C# in Unity 3D HOT 4
- No Z-Sharp (Z#) HOT 3
- Saving xml page will probably corrupt the UDL file
- PowerShell UDL not working HOT 5
- Language Menu too long HOT 3
- Spelling error "deliminer" HOT 3
- Convert old UDLs to 2.1 syntax
- Add: Zig UDL
- An alternate autocomplete xsd file to validate autocomplete files. HOT 18
- Koltin HOT 1
- Missing UDL file- RenderMan-RSL_by-focus_gfx.xml HOT 2
- the Delimiters didn't work right with sequence of six like this one: "`0"` HOT 1
- Bad display of cue syntax HOT 1
- No UDL for PO files (Portable Object)
- Rules & Checks: Display Name HOT 1
- Create dark mode styles HOT 1
- not OKUMA-Style HOT 1
- udl "GCODE-3d-OkumaLathes_byHarveyShrock.xml" is not proper format for OKUMA
- Request: DAX PowerBI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from userdefinedlanguages.