|
Thanks Sam,
I did go all the way through that process but the snippets added by Niels
don't show up - just an empty placeholder comment block for RPG code which
I assume was placed there by the Code fro IBM i extension.
Not to worry - when I need it I'll play with it and get it sorted.
Jon P.
On Nov 1, 2021, at 1:44 PM, Sam_L <lennon_s_j@xxxxxxxxxxx> wrote:snippets:
In that same link there is this, which tells how to list all available
Snippet command in the Command Palette to get a list of the snippets for
"You can see the available snippets for a language by running the Insert
the language of the current file. However, keep in mind that this list also
includes user snippets that you have defined, and any snippets provided by
extensions you have installed."
look, go to https://github.com/NielsLiisberg/RPG-for-VSCode. Click Code,
Command Palette is F1.
Now that doesn't show the underlying code. But for a quick and dirty
then you can browse the underlying code.
extension and I know it currently has virtually all the functions (%xxx,,,)
I use VS Code but I'm not an expert. I also use the Code for IBM i
defined as snippets. And they are all defined in a separate file which is
part of the extension. I beleive the contributor plans to add some logic
constructs when he finds time.
define your own snippets they won't be blown away by an update to the
Having said that, but not yet done it myself, I believe that if you
extension.
one.
Not sure what happens if your own snippet is a duplicate of a provided
that were added by Niels' extension and those are the ones I would like to
Sam
-------- Forwarded Message --------
Subject: Re: Visual Studio Code
Date: Sun, 31 Oct 2021 16:17:57 -0400
From: Jon Paris
Yes and no Sam.
It shows me where I can add my own - but it doesn't show me the ones
study and potentially modify.
https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets
Jon Paris
On Oct 31, 2021, at 12:27 PM, Sam_L <lennon_s_j@xxxxxxxxxxx> wrote:
Does this link help?
related questions.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
link: https://amazon.midrange.com
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.