Red ochre Posted August 10, 2022 Share Posted August 10, 2022 8 hours ago, toe_head2001 said: There are two reasons someone might want to disable it: 3. When it changes your own simple variable to some unknown (to me) Pdn method with a similar name.😉 - Thanks both for putting in the work. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 10, 2022 Share Posted August 10, 2022 29 minutes ago, Red ochre said: 3. When it changes your own simple variable to some unknown (to me) Pdn method with a similar name. That sounds like a scenario that falls into bullet-point one or two. Do you have the steps for when it does that? Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Red ochre Posted August 10, 2022 Share Posted August 10, 2022 Yes, it does ... it was very annoying (and confusing) at the time, but sadly I've forgotten the exact variable name that caused the problem. Good to know it can be turned off if needed now. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
Reptillian Posted August 11, 2022 Share Posted August 11, 2022 (edited) With regards to autocompletion, I'd be happy if the suggestion could pop up, but it autocomplete with arrow keys only. And if that's not clear, KDE Kate behaves like that. Edited August 11, 2022 by Reptillian Quote G'MIC Filter Developer I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me. Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 13, 2022 Share Posted August 13, 2022 Visual Studio has a visual hint to indicate when an item will/won't auto complete: Solid Selection = Auto Complete Outline Selection = No Auto Complete (in case of typos, auto complete can be forced with the Tab key) I'm adding a similar hint to CodeLab. I hope this will reduce "surprises" when an item auto completes (or doesn't). 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 27, 2022 Share Posted August 27, 2022 Serveral months ago Visual Studio Code added this thing called Rainbow Braces. The feature is available in the regular Visual Studio with extensions: Viasfora or Rainbow Braces. Now that I've become accustom to these rainbow braces, I wanted them in CodeLab too. So... the next version of CodeLab will have an option for Rainbow Braces! 3 1 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 27, 2022 Share Posted August 27, 2022 Dang. I never knew I needed them until I saw this ^ screenshot. Yes please 1 Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Pixey Posted August 27, 2022 Share Posted August 27, 2022 9 hours ago, toe_head2001 said: So... the next version of CodeLab will have an option for Rainbow Braces! So pretty 😍 It might even get me interested in writing code 😂 Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 2, 2022 Share Posted September 2, 2022 Hey, look at that... color previews in the auto complete box. Sorry, your browser doesn't support embedded videos. EDIT: Tooltips too! 3 1 1 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 2, 2022 Author Share Posted September 2, 2022 @toe_head2001, do you show doc comments like IntelliSense does? This will be really useful for PDN v5 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 2, 2022 Share Posted September 2, 2022 No support for doc comments yet. It's something I've wanted to do for a while, but hasn't been a priority. Should be fairly straightforward to implement though. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
TrevorOutlaw Posted September 2, 2022 Share Posted September 2, 2022 I like the multi-colored brackets as I think it will make reading codes easier as I sometime get lost in reading the sequencing. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 3, 2022 Share Posted September 3, 2022 @Rick Brewster Work-in-progress screenshots! 2 2 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Red ochre Posted September 3, 2022 Share Posted September 3, 2022 That could be very informative. The colour coded parenthesis look very useful too... previously I would add a comment e.g.. "// end inner loop"... it's so easy to get it wrong, then the errors disappear and you can't see where you have gone wrong. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
BoltBait Posted November 21, 2022 Share Posted November 21, 2022 CodeLab v6.7 (for Paint.NET v5.0+) Changes in Paint.NET v5.0 prevents older versions of CodeLab from running. So, if you want to develop plugins in Paint.NET v5.0 you'll need to download CodeLab from this thread. What's new: Visual hint to indicate when an item will/won't auto complete Rainbow Braces Color previews in tooltips and auto complete Summaries from Doc Comments No support for authoring GPU plugins just yet. Honestly, @toe_head2001 just made enough changes to get CodeLab back to a working state. We have TONS of plans for supporting all the new toys @Rick Brewster has given us plugin developers in Paint.NET v5.0 (such as tabs and the ability to write GPU accelerated plugins), but that's a long way off. We've been working on updating our own plugins first so that we can learn the new techniques required for the next phase of CodeLab. It has been a LONG journey and much progress has been made. Be patient and eventually CodeLab will be updated further. Download: https://boltbait.com/pdn/codelab 2 1 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Pixey Posted November 23, 2022 Share Posted November 23, 2022 Oops! Windows Defender doesn't like this download Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
Rick Brewster Posted November 23, 2022 Author Share Posted November 23, 2022 Yeah I'm seeing that too 🤔 It's likely a false positive, but BoltBait it's worth doing a virus scan of your system just to be 100% sure Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
BoltBait Posted November 23, 2022 Share Posted November 23, 2022 My system is clean. I just don't have a way to sign my installers. Reputable code signing costs over $500/year... so, I'm going to need LOTS more donations if I'm going to make that happen. I just MIGHT be able to get a discount code signer... they only cost $60/year. Investigating... https://codesigningstore.com/cheap-code-signing-certificates 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
ReMake Posted November 23, 2022 Share Posted November 23, 2022 I had no problems installing CodeLab 6.7 on Windows 10. Quote Link to comment Share on other sites More sharing options...
Pixey Posted November 23, 2022 Share Posted November 23, 2022 Windows Defender will not let me download this. As it seems to be a false positive, do I have to disable Defender to get this downloaded? Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
otuncelli Posted November 23, 2022 Share Posted November 23, 2022 @Pixey No, you don't need to disable Defender completely. You can add an exclusion. See here: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26?ui=en-US&rs=en-US&ad=US#ID0EBF=Windows_11 If you're having trouble to do this (because Windows being so fast to delete the file), just disable "Real-time Protection" temporarily then add the exclusion. 1 Quote Link to comment Share on other sites More sharing options...
Pixey Posted November 23, 2022 Share Posted November 23, 2022 39 minutes ago, otuncelli said: just disable "Real-time Protection" temporarily then add the exclusion. Many thanks for your help @otuncelli but I have a dilemma as the 'download' doesn't complete and says "Unconfirmed.crdownload" which Defender doesn't recognize as an exclusion 😱 EDIT: I did it after temporarily disabling Real-time. Thank you so much for the help 😁 Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
BoltBait Posted December 7, 2022 Share Posted December 7, 2022 @Rick Brewster the build of CodeLab posted above is not compatible with your latest build of Paint.NET. Running it gives the following error: Quote File: C:\Program Files\paint.net\Effects\CodeLab.dll Name: PaintDotNet.Effects.CodeLabRegular Version: 6.7.8360.24707 Author: Copyright ©2022 BoltBait Copyright: C# Code Editor for Paint.NET Plugin Development Website: https://www.boltbait.com/pdn/CodeLab/ Full error message: System.MethodAccessException: Attempt by method 'PaintDotNet.Effects.CodeLabConfigDialog..ctor()' to access method 'PaintDotNet.PdnBaseForm.get_EnableOpacity()' failed. at PaintDotNet.Effects.CodeLabConfigDialog..ctor() at PaintDotNet.Effects.CodeLab.OnCreateConfigForm() at PaintDotNet.Effects.EffectBase.PaintDotNet.Effects.IEffect.CreateConfigForm() at PaintDotNet.Menus.EffectMenuBase.RunEffectImpl(EffectInfo effectInfo) @toe_head2001 is trying to read EnableOpacity which is now marked internal. We read this to see if that option is enabled in the Paint.NET settings. Options? EDIT: BTW, we're not the only plugin reading this property. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
toe_head2001 Posted December 7, 2022 Share Posted December 7, 2022 To be clear, we want to see if this option is Enabled/Disabled. If it is disabled, we grey-out these menu items in CodeLab, as they would do nothing. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 7, 2022 Author Share Posted December 7, 2022 You're not setting the property though? Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.