Course preferences is missing from user preferences list in moodle 3.11 - moodle

How to enable or showing course preference in above list?

Related

syso shortcut isn't working in Eclipse IDE

so when I'm trying to use the shortcut syso in eclipse IDE it opens a suggestion pop up instead of just displaying System.out.println like it used to any suggestions to fix this? (I added an example to show what's happening)
You could use the Type Filters preference page for this, as you almost never want to refer to anything in the jdk.internals packages, and it will apply regardless of the JDK you're using.
See Nitin Dahyabhai's answer for the straightforward and recommended solution.
Alternatively, to avoid that the content assist proposes for syso also the type jdk.internal.misc.FileSystemOption, you can add to the system library the access rule Forbidden **/internal/** (assuming Hide forbidden references is enabled in Type Filters):
Go to Project > Properties: Java Build Path tab Libraries
Select Acceess rules which is a sub-node of the JRE System Library
Click Edit...
In the Type Access Rules dialog, click Add...
In the Add Access Rules dialog, enter **/internal/** click OK
In the Type Access Rules dialog, click OK
Click Apply and Close
Alternatively, you can change the name of the sysout template in the preferences in Java > Editor > Templates.

Edit VSCode JSON Settings NOT the Gui Settings

There are many tutorials out there that give info about editing VSCode's JSON settings.
How do you SKIP the Gui setting and go straight to the JSON edit page?
File → Preferences → Settings → search JSON

Hide run/debug launch configuration in eclipse run/debug dialog programmatically

How to hide a given launch configuration type in eclipse run/debug dialog?
As asked here in this bug hiding with activities is not working for me.
Are there any other ways to hide a given launch configuration type in eclipse run/debug dialog?
The Preferences has a configuration for hiding configuration types (in 'Run/Debug > Launching > Launch Configurations').
You could set these preference values, but this is an internal API so may change without notice.
The preference store is:
IPreferenceStore store = DebugUIPlugin.getDefault().getPreferenceStore();
Filtering by launch type is enabled with
store.getBoolean(IInternalDebugUIConstants.PREF_FILTER_LAUNCH_TYPES)
and the comma separated list of types to be filtered out is in
store.getString(IInternalDebugUIConstants.PREF_FILTER_TYPE_LIST)
As I said this is all an internal API.

Eclipse 3.6, turn off autocomplete for Salesforce (force.com)

I'm using the force.com (Salesforce) plugin in Eclipse.
Is there a way forcibly turn off autocomplete? (Typing a quote makes the end pair automatically appear. This drives me crazy)
In eclipse I can turn this off for individual languages but the preferences > force.com section doesn't expose this. I'd be happy if autocomplete was forcibly turned off everywhere.
What you're looking for is in the "Editor" preferences (search for editor and then look for Typing below the editor of your language).
For Java, that would be Java -> Editor -> Typing -> Automatically close.

Export single Eclipse Perspective and Settings

I customized my Eclipse for a special Latex Perspective and saved this perspective as "MyLatex". I even added shortcuts in my texlipse preferences, so that I can type "tab"+strg+space to insert a table.
Now I would like to offer this to friends. I found out that I can use Export->General->Settings, but this exports ALL perspectives.
Is there any way to export only the perspective "myLatex" and the texlipse editor templates?
Best regards
Philipp
There exists another way to do this.
Share Eclipse perspective layouts across multiple workspaces
To save your perspective, select Window > Save Perspective As… from
the application menu. A dialog should popup (shown below), prompting
you for a perspective name. Enter a name that you’ll remember, eg. My
Java or Debug Jack. Click Ok once you’ve entered a new name.
Note: You can choose to overwrite one of the default perspectives, eg.
Java, without fear. However, I prefer to leave these intact, so always
choose a new name, but you can choose whatever works for you.
Now you can go through the normal routine of exporting the preferences
to a properties file via File > Export > General > Preferences. Then
import the same file in another workspace via File > Import > General > Preferences. All you now have to do is switch over to the perspective you saved and all your layout settings will be restored.
If you overwrote one of the default perspectives, you may have to
select Window > Reset Perspective… to restore the saved settings.
If you’ve chosen to create a new perspective, be sure to point your
Run/Debug settings to the new perspective under Window > Preferences >
Run/Debug > Perspectives. For example, if you made a new perspective
based on the Debug perspective, then you’ll need to change references
to the Debug perspective to the My Debug for launchers you use.
I don't know of a nice way to export/import one perspective from eclipse, but maybe try the following:
open this file -
workspace/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
and copy the part that relates to your new perspective to the same file for the users you want to share it to. If this doesn't work you may have to replace the entire file in their workspace with your one.
In my case I had to copy from one workspace to another
.metadata.plugins\org.eclipse.e4.workbench