Comments (3)
Well, such feature is easy to build in folder structure, but code structure is often complicated and there are so many languages, so maybe each language it needs to build separate algorithm to detect such Parent Single Lines. I don't think that it doable by me in the near future. But maybe other developers will contribute in Blockman in the future.
from vscode-blockman.
Actually, Blockman has a setting called: N27 Also Render Blocks Inside Single Line Areas
, which is turned off by default. You can turn it on any time.
BUT, this is not the setting you are talking about. You are talking about parent lines of block. So, you want that the parent lines which are basically single line or without any value, should not be wrapped in their own block, right? This idea seems interesting, but I think it's not really intuitive, because if such single line parent has a child block, then it means that this parent property has a value, it's not without a value, it has a value, the value is its child block. So, if you hide the blocks of parent lines, then you lose the sense of tree structure. It's important to perceive that something is a deep child (child of a parent of a parent of a a parent...), because tree structure is very important information.
from vscode-blockman.
Thank you for your thoughtful and quick replies.
Option to skip parent block render if:
- Parent is single line
&&
- Parent has one block child
Yes that is exactly what I mean. I understand that it's not desirable in every situation, but in some cases it can be nice. I have disabled N27 Also Render Blocks Inside Single Line Areas
. I was using only indent guides before so with this plugin the editor looks a bit busier but I still like it. This seemed like another possibility to clean up the interface a bit more.
VsCode does a similar thing in the folder tree when the only contents of a folder is another folder like in this example:
from vscode-blockman.
Related Issues (20)
- In case you wish to continue the previous conversation HOT 2
- Latest version doesn't work. HOT 2
- Bug in width calculation with multibyte characters. HOT 2
- Feature Request: Option to disable for diff comparison HOT 2
- How to set focus block border size HOT 1
- Not working at all! HOT 8
- How to customize borders? HOT 3
- Codeblock will cover the custom background image even background set to `none` HOT 1
- can the background match my current theme? HOT 2
- Sluggish Scroll HOT 4
- Feature Request: Disable single line block on focused section HOT 1
- Blockman doesn't handle word wrap correctly HOT 2
- Where is the settings/configurations of this plugin? HOT 2
- Support double width chars settings will be lost every time VSCode is restarted HOT 3
- Inverse depth (bottom-up) highlighting HOT 1
- Makes typescript super slow HOT 6
- Blockman doesn't work with in line code suggestions from other extensions HOT 14
- Support `extensions.experimental.affinity` to speed up extension HOT 1
- Blockman showing "random" errors. HOT 1
- Feature Request: Support vscode.dev 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 vscode-blockman.