How do I set relative dates in Directus? - content-management-system

In settings>interfaces>dates, I want to turn off the "relative" toggle, but when I flip that toggle it seems to turn itself back on as soon as I leave the screen, so the setting isn't taking.
This setting works in other interface options like "datetime", but appears not to work in "dates". Does anyone have any tips to solve this? Thank you!
Edit: there are some related open issues like this one, but I was unable to find anything directly relevant. I also don't see any obvious option to save.

You're currently looking just at templates for all interfaces. settings/interfaces doesn't have to do anything with settings but is there to help development of interfaces.
Heres how you can change that setting:
Goto settings/collection & fields
Select a collection where a Date-Time field is present.
Select the Date-Time field.
You will now the this popup:
Here you can change the the time preview to relative. There is no global switch for your information.

Related

How to setting up EditBox

Im trying to set up EditBox in LiClipse for python but nothing I do makes it work. I feel like I've tried everything but maybe I missed something. Can anyone who was able to set it up explain how they did it?
I'm trying to get it to look like this:
I did some messing around and I found the answer! You need to select the category to the right that is associated with your language (or whatever category you want to store the layout in) and press the add button on the bottom left to add the file type. Simply type in your file type (for example if using the language C in script Test.c type *.c) and press OK, then from there your all set! You can customize the format in the categories tabs above to make yours look unique or more suited for your needs. Hope this helped anyone else confused about setting up EditBox :)
Image of solution:<- Click b/c I cant post pictures yet lol
My Suggestion For a Good Configuration (Using LiClipse Dark Theme): <- Click Me :D

Drag selected text to move it?

Is it possible to drag selected text to move it? This is in almost every other editor (not to mention text input fields in browsers.) I was surprised not to find it in VS Code.
Here is a gif example.
This is now supported as of Feb 2017 release (1.10.1) but it is disabled by default.
To enable it: Go to File > Preferences > Settings and add this line "editor.dragAndDrop": true
Source: https://code.visualstudio.com/updates/v1_10#_preview-drag-and-drop-selected-text
Looks like it's not yet implemented, but there's an open issue about it.
If you want to help without diving into the internals, go 👍 the issue to add to its social signal.
I don't believe so. Their site says that it is keyboard-optimized and keyboard-centric, so their idea might be that you should highlight some text, cut it, and past it where you want it rather than dragging it.
I talk about this problem on Github Microsoft page and Microsoft engineers see this. I hope to solve it. (Please support by 👍 on this page.)

Eclipse working sets -- how to rename them? Also, can the error-icon be disabled?

After mild frustration with the difficulty to make top-level "plain old folders" within Eclipse for visual-organization purposes, I discovered that the thing I'm after is called a "working set". Hooray! But they don't seem to be rename-able, by any of the apparent avenues (right-clicking on it or using the Configure Working Sets window).
Is that just the way things are, since no one should be so lazy as to refuse making a new working set with the right name and transferring everything over? Or am I missing something obvious?
I also have a more minor question whose answer I already think I know. Can I tell a specific working set not to change its icon to have the "red X" when one of its children has an error? Nothing in the preferences under Debugging suggests to me the ability to turn off the automatic icon-changing. It's a useful feature, but I have a few simple practice projects with very basic errors, and I don't need the visual reminder to "fix" them, especially if they're in my "Practice" working set, whose icon I'd prefer not to change.
To rename a Working Set, you need to get to the dialogue of selecting a Working Set (click on the white down arrow at the top right of the package explorer > Configure Working Sets..), focus on your Working Set and click the "Edit" button. There, you can change the Working Set's name, as well as what's actually included in the Working Set.
There is no way (that I know of) to change the icon display to avoid showing the errors marker.

How to make WinCVS show only Unmodified files

I'm using WinCvs 2.0.0.2 (Build 2).
How can I make it filter, to show only files that are:
known to CVS
not modified
Things I've tried
Filters
I've looked at all the filters at the top in the toolbar, and I can't see how any combination of these could show only unchanged files:
Show All Commitable Files Only
Show Changed Files Only
Show Added Files Only
Show Removed Files Only
Show Conflict Files Only
Show Missing Only
Hide Any Missing
Show Unknown Only
Hide Amy Unknown
Show Any Ignored
Filter Bar
I've also tried enabling the Filter Bar, to filter on the value in the State column.
I had thought this was the most promising approach, but the problem is that I can't work out how to make this filter to only show rows where the State value is empty.
The help in WinCvs's "Select State Filter" dialog is rather content-free:
Filter Selection dialog box
The dialog options allow you to select the filter value from any of the previously used ones.
I've googled for tips on the Filter Bar, and not spotted any useful tips on how to use this to exclude values. I've read the CvsGui FAQ, and can't see any explanation of more advanced use of the Filter Bar.
Unfortunately, the answer is really simple: No, this not possible.
This: http://cvsgui.sourceforge.net/newfaq.htm#filters_howto is really all there is.
What is your use case, though?
This Facility is not available in WINCVS. It is available only in eclipse plugin.

How to add views to Show In menu for particular file types

I use an older plugin called Veloeclipse for editing Velocity templates in Eclipse. There's been no development on this since 2009, which isn't a problem because it's mainly just for syntax highlighting and format validation. The really annoying thing about it, however, is that when I try to do Show In to view the current Velocity template within my Package Explorer or Project Explorer, the only available option is Properties. That's not really useful. I really need to be able to get to the file in one of the regular explorer views.
So I have sort of two questions:
Is there a way to configure this without having to monkey with any code? A configuration file or something? I've grepped through my Eclipse installation and haven't seen anything, but I'm hoping that there's something I'm missing.
So assuming that the answer to my first question is no, how do I go about modifying the plugin code so that it will show more than the Properties view in the Show In menu? Most of what I found on the plugin development wiki comes from the other direction: how to make your view or perspective appear in the Show In menu.
Any help with this would be hugely appreciated!
Try to check the plugin source code. it might do something different than other editors. What I mean is that the show in menu item that you have there is not the usual extension point but a hard coded context menu option.