BLide Still not indenting.
BlitzMax Forums/BlitzMax Beginners Area/BLide Still not indenting.
| ||
For whatever reason, Blide is still not indenting properly. It's the demo version and i'm using windows 7 64bit. As much as I want to like Blide, no auto indenting is a deal breaker. Perhaps someone can suggest a cause and a solution. |
| ||
What exactly are you expecting to occur as you type? |
| ||
Can you elavorate about what were you expecting and what issues are you experiencing? |
| ||
If i past block of code in lie this.... Select a Case 1 stuff here Case 2 Stuff here Case 3 Select B Case 1 Stuff there Case 2 Stuff here End Select End Select It will not auto indent any of it. I should be able to highlight a block of code and hit tab or something and have it auto indent the block of code intuitively. IDeal could do this. It should look something like this.. Select a | Case 1 | | Stuff here | Case 2 | | Stuff here | Case 3 | | Select B | | | Case 1 | | | | Stuff there | | | Case 2 | | | | Stuff here | | End Select End Select At best, if i start typing it in I'll get this.See below. The second select will over write the last indent line of the first case block, and the code in between the case blocks "Stuff here" is not being indented so it over writes the case indent lines. Hopefully that explains it. Select a Case 1 Stuff here Case 3 Stuff here Select b Case 1 Stuff here Case 2 Stuff here Case 3 Stuff here End Select End Select |
| ||
Crap, My examples didn't post right. How do you guys post blocks of code? |
| ||
The link above the post text box tells you what you need to know : forum codes |
| ||
Menu : Tools -> Preferences -> tab "Editor" -> check "Smart text formatter to modify tabs and spacing when a line is changed" |
| ||
Ok lets try this again.If I paste this block of code in like this....Select a Case 1 stuff here Case 2 Stuff here Case 3 Select B Case 1 Stuff there Case 2 Stuff here End Select End Select It will not auto indent any of it. I should be able to highlight a block of code and hit tab or something and have it auto indent the block of code intuitively. With IDeal, once I pasted it in the editor it would auto endent just like below without any tabing. IDeal could do this and surely BLide must be able to do this, but for whatever reason it's not working for me with Blide. Frustrating. It should look something like this after I paste it in. Select a | Case 1 | | Stuff here | Case 2 | | Stuff here | Case 3 | | Select B | | | Case 1 | | | | Stuff there | | | Case 2 | | | | Stuff here | | End Select End Select At best, if i start typing it in I'll get the result below. Select a Case 1 code Case 2 code Select B Case 1 code Case 2 code End Select End Select Bobysait, "Smart text formatter to modify tabs and spacing when a line is changed" is already checked. |
| ||
many years I use both IDEal and Blide, and I have never seen such a behavior in Blide, and I've already search for it, but this feature miss Blide, or since blide is out, i've never found it. (IDEal is not the same IDE, you can't look for blide to do the same, they look like the same, but : different owner, different license, differrent languages support, and for sure different features > Blide, whatever auto-indent missing, still contains much more tools than IDEal will never have) |
| ||
So you are saying it is supposed indent as I want it? Like this? Select a | Case 1 | | Stuff here | Case 2 | | Stuff here | Case 3 | | Select B | | | Case 1 | | | | Stuff there | | | Case 2 | | | | Stuff here | | End Select End Select |
| ||
Nope, I say it is not made this way Blide does auto-indent on the fly, but not for copy/paste lines of codes it also does not provide any "Auto-Indent Selection" like IDEal does |
| ||
Well i contend that it doesn't auto indent on the fly either. This is what I get on the fly.Select a Case 1 code Case 2 code Select B Case 1 code Case 2 code End Select End Select |
| ||
your exemple is indented ... |
| ||
hmm. ok. Well it doesn't indent like post#10 then you are saying. I like being able to see the indent lines and not having code blocks overlap it. That is truly unfortunate. |
| ||
Blide auto indents a Select statement to a point:Function Main() Select score Case 100 Print "100" Case 200 Print "200" End Select End Function But how hard is it just to hit TAB after the Case statement? Everything else seems to indent fine, your first post seems to suggest everything doesn't indent. Last edited 2012 |
| ||
lol.Well, I guess I'm so used to IDeal's intuitiveness regarding indenting that it spoiled me. If any code got messed up a bit, I could just highlight and hit auto-indent. Plus you could past a block of code in and viola it was indented. |
| ||
Does Blide have a code explorer something like IDeal has? Nice to have a list of all the functions, types, arrays,..etc, you can see and click on to jump to. |
| ||
regarding indenting that it spoiled me LOL! Maybe Ziggy can add it to a future version BLide. code explorer Yep: |