Comments (6)
I'd prefer sane defaults over (GUI) configurability, that means inheriting the OS's UI font and the OS's programming font.
from sketchup-console-plus.
Since many programmers like customization and many source code editors offer this (maybe because Windows seems not to allow setting your favorite programming font as OS-wide default), we could implement at least a non-GUI way to override the inherited font.
- Add a key to settings for enabling font override and for selected font
- Add code to sync all html code elements' font with this setting (need to be careful in which component this should be implemented without hardcoding references to certain elements)
- Settings are stored in registry. Not sure whether to introduce rather a configuration file for manual editing (using both adds complexity, or maybe replace registry by config file).
from sketchup-console-plus.
Simplest might be to use Sketchup.read_default
and pass that to the dialog as it boots (or as param in the file URL). That and document the setting.
I have been playing around with Ace myself the last few days - for a "Snippet-Player". Was able to set the font.
this.editor.setOptions({
fontFamily: "Fira Code; monospace",
fontSize: "14pt"
});
from sketchup-console-plus.
Yes, but there are more places (console output is not an ace editor, but a look-alike).
In the back-end I use read-default, so that is at the moment the registry or plist, if that is not too inconvenient to edit manually then I can leave it as it is.
from sketchup-console-plus.
Yea, that's fine by me. It'd be a one-time set-and-forget on each machine (SU instance). Mentioning that in the GitHub README is enough for me. (Maybe useful in the extension description.)
It's a tool for developers after all. Sublime, VS Code all have you set settings via editing settings files. I see this to be no different.
from sketchup-console-plus.
Added in branch feature_font_family and merged to master.
from sketchup-console-plus.
Related Issues (20)
- Repeated output no longer displayed after console clear HOT 1
- Extension using `.singleton_class`? HOT 9
- Multiple warnings when on a Portuguese version HOT 7
- SketchUp Console+ closes when Geolocating HOT 1
- Error when transfering strings with non-UTF-8 compatible bytes HOT 2
- Tutorials HOT 3
- Warning upon launching Console+ 3.1.3 HOT 5
- Text in some console window is white on pale grey - almost ureadable HOT 1
- Points visualized as vectors? HOT 2
- Idea: In-console visualizations HOT 3
- undefined local variable or method `cp' HOT 1
- Draw 3d normals using view.draw? HOT 2
- super laggy some times
- Promise.then method conflicts with standard ruby in Sketchup 2021
- Documentation search not working?
- Console is lagging even after uninstalling console-plus
- Load error, ruby 3
- Display file paths in error trace as a links
- Sketchup2022(Get a reference to an entity in the model by picking it with the pointer.)not work HOT 1
- ReferenceError: ace is not defined HOT 1
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 sketchup-console-plus.