titan.EclipsePlug-ins issueshttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues2023-11-15T09:34:32Zhttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/513ASN.1 SelectionOption is not supported2023-11-15T09:34:32ZAdam KnappASN.1 SelectionOption is not supportedCopy of titan.core#693
## Summary
ASN.1 `SelectionOption` is not supported, i.e. `WITH SUCCESSORS` and `WITH DESCENDANTS`.
The IEE1609.2.1 standards are using extensively the statement WITH SUCCESSOR, therefore it would be nice to have...Copy of titan.core#693
## Summary
ASN.1 `SelectionOption` is not supported, i.e. `WITH SUCCESSORS` and `WITH DESCENDANTS`.
The IEE1609.2.1 standards are using extensively the statement WITH SUCCESSOR, therefore it would be nice to have it in Titan as well.
The issue originates from this forum topic: https://www.eclipse.org/forums/index.php/t/1112635/
/cc @aknappqwt @mmagyariAdam KnappAdam Knapphttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/427Implement OOP support in the semantic analyzer2023-05-16T11:09:57ZMiklos MagyariImplement OOP support in the semantic analyzerMiklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/439OOP related IDE improvements2023-05-16T11:09:31ZMiklos MagyariOOP related IDE improvementsImplement various OOP related improvements in the IDE:
- styling support in the outline view
- styling support in the completion proposals view
- support classes in the outline view with visibility indicationImplement various OOP related improvements in the IDE:
- styling support in the outline view
- styling support in the completion proposals view
- support classes in the outline view with visibility indicationMiklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/458Update copyright date2023-05-16T11:08:54ZMiklos MagyariUpdate copyright dateSource file contain: "Copyright (c) 2000-2021 Ericsson Telecom AB"
this should be updated to 2023 everywhereSource file contain: "Copyright (c) 2000-2021 Ericsson Telecom AB"
this should be updated to 2023 everywherehttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/477Improve content assist - phase 22023-05-16T11:08:27ZAdam KnappImprove content assist - phase 2Improve content assist processor to provide better/more relevant suggestions
Use cases for proposing:
- [x] fields/functions of structured types after a variable/constant/function call etc. + "."
- [x] union, record, set
- [x] compo...Improve content assist processor to provide better/more relevant suggestions
Use cases for proposing:
- [x] fields/functions of structured types after a variable/constant/function call etc. + "."
- [x] union, record, set
- [x] component
- [x] class
- [x] function without parameters
- [x] function with parameters
- [x] function parameters
- [x] component operations, e.g. MyComp.create/done/stop etc.
- [x] port operations, e.g. MyPort.start/stop/send/receive etc.
- [x] timer operations, e.g. MyTimer.start/stop/read/running/timeout
- [x] all/any timer/component/port operations
- [x] testcases after 'execute('
- [x] verdicts after 'setverdict('
- [x] in doc comments, 'deprecated' after '@status'
- [x] encoding related proposals
- [x] encoding types
- [x] encoding attributes
- [x] attribute keyword
- [x] attribute modifier
- [x] extension attribute keywords
- [x] extension attribute prototype settings
- [x] extension attribute printing settings
- [x] extension attribute encode/decode type
- [x] extension attribute encode/decode option
- [x] after class 'extends' propose potential base classes considering the following:
- don't propose the class itself
- don't propose classes that are already listed in the 'extends' list
- if a non-trait class is already listed, only propose trait classes
- don't propose final classes that cannot be extended
- [x] modifier keywords starts with "@"
- [x] class definition: type class @abstract/@final/@trait
- [x] class function definition: function @final/@abstract/@deterministic
- [x] module function definition: function @control/@deterministic
- [x] function parameter: function (@modifier)? fname(..., @lazy/@fuzzyhttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/480Implement code peek feature in the IDE - phase 22023-05-16T11:04:42ZAdam KnappImplement code peek feature in the IDE - phase 2We should implement the code peek feature. For example, by pressing a hotkey, the declaration of the symbol under the cursor is shown in a source code viewer popup. By using this, users do not need to jump to other locations in the sourc...We should implement the code peek feature. For example, by pressing a hotkey, the declaration of the symbol under the cursor is shown in a source code viewer popup. By using this, users do not need to jump to other locations in the source code to quickly check the declaration.
Tasks:
- [x] code peek for included ASN1 file type
- [x] fixing syntax highlighting of included ASN1 file type (now TTCN-3 syntax highlight is applied instead of ASN1)
- [x] code peek in ASN1 file typeMiklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/417Improve ttcn3 lexer/parser to accept OOP syntax2023-05-16T11:04:14ZMiklos MagyariImprove ttcn3 lexer/parser to accept OOP syntaxTo support OOP features on the Java side, it is desired to improve the TTCN3 lexer/parser to recognize OOP syntax.To support OOP features on the Java side, it is desired to improve the TTCN3 lexer/parser to recognize OOP syntax.Miklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/484Improve syntax and semantic check calls from GUI2023-05-16T11:02:37ZAdam KnappImprove syntax and semantic check calls from GUIShortcuts are available on the GUI to trigger the syntax and both the syntax and semantic checks of the C/C++ compiler without building the project.
- [X] Currently, the check is executed on every project resource (i.e. on files and dir...Shortcuts are available on the GUI to trigger the syntax and both the syntax and semantic checks of the C/C++ compiler without building the project.
- [X] Currently, the check is executed on every project resource (i.e. on files and directories) that is selected in the Package Explorer view. However, this also means that the check is executed on files too that are not understandable for the compiler, i.e. the `bin` directory with dependency and C/C++ source files, and other generated files.
So the check should be restricted to file types that are accepted by the compiler.
- [x] In addition, the flags of the compiler are not taken into account when executing these checks from the GUI. Therefore, even if the compiler flag for e.g. OOP are turned on, the compiler mistreats the `class` and other OOP specific keywords.
- [x] ~~Disable check syntax/semantic check buttons when a Java project item is selected~~Miklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/488Outline improvements2023-05-16T11:02:07ZMiklos MagyariOutline improvementsFunctionality of the outline view could be improved.
- [x] when navigating in the ttcn3 source code, the corresponding outline element should be selected
- [x] autoselected outline item should be expanded if it is currently collapsed
...Functionality of the outline view could be improved.
- [x] when navigating in the ttcn3 source code, the corresponding outline element should be selected
- [x] autoselected outline item should be expanded if it is currently collapsed
- [x] it is almost impossible to find an inactive selected item when using dark theme
- [x] indicate deprecated elements with strikethrough (depending on semantic highlighting setting)
- [x] ~~add type info for outline elements~~
- [x] ~~try implementing hover support providing doc comment and code peek~~ (due to Eclipse limitation)
- [x] add outline preferences page
- [x] notify outline to refresh after incremental updates
- [x] add support for the non-standard @category tag
- [x] implement filtering based on @category
- [x] ~~add toggle button for imports~~Miklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/489Implement TTCN3 document comment view2023-05-16T11:01:41ZMiklos MagyariImplement TTCN3 document comment viewThe eclipse java plugin has a view called javadoc view that displays javadoc for the symbol under the cursor in the editor.
A similar functionality could be added to Titan to display doc comment and AST info while navigating in the code...The eclipse java plugin has a view called javadoc view that displays javadoc for the symbol under the cursor in the editor.
A similar functionality could be added to Titan to display doc comment and AST info while navigating in the code. The information would be practically the same we show with the code hover feature.
A sample screenshot of the javadoc view:
![image](/uploads/61de360b15e5c3fedf4f4e0d515bab55/image.png)Miklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/491Investigate code mining2023-05-16T11:01:20ZMiklos MagyariInvestigate code miningEclipse provides a code mining extension point which can be used to decorate the source code with different kinds of extra information, like reference count or git info.
A screenshot from an eclipse plugin with code mining:
![image](/up...Eclipse provides a code mining extension point which can be used to decorate the source code with different kinds of extra information, like reference count or git info.
A screenshot from an eclipse plugin with code mining:
![image](/uploads/b9a71a8a5af16b9ecc8ff09a0b98a520/image.png)
We should investigate this feature. ideas for code mining usage:
- [ ] reference count
- [ ] git commit information for the line under the cursor (like vscode gitlens)Miklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/499Naming of forked processes2022-11-15T10:37:24ZAdam KnappNaming of forked processesCopy of titan.core#607
It would be nice, if the names of the forked process could be configured to use the name of the component that runs in the process instead of inheriting the name of the parent process (host component).
Possible c...Copy of titan.core#607
It would be nice, if the names of the forked process could be configured to use the name of the component that runs in the process instead of inheriting the name of the parent process (host component).
Possible configuration:
* Add a new option to the `[MAIN_CONTROLLER]` group in the runtime configuration file: `ProcessName := HC` or `ProcessName := COMPONENT_NAME`
Possible solutions:
* https://stackoverflow.com/questions/6082189/change-process-name-in-linux/55584492#55584492
* https://source.chromium.org/chromium/chromium/src/+/master:content/common/set_process_title_linux.ccAdam KnappAdam Knapphttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/419Use of octetstring and bitstring in LENGTHTO (Java side)2022-07-21T13:07:49ZAdam KnappUse of octetstring and bitstring in LENGTHTO (Java side)## Related forum topic:
https://www.eclipse.org/forums/index.php/m/1842035/
## Request detail
Hello,
I'm currently implementing a NAS encoder based on 3GPP TTCN files. However it specifies length fields as octetstrings, such as Type4Le...## Related forum topic:
https://www.eclipse.org/forums/index.php/m/1842035/
## Request detail
Hello,
I'm currently implementing a NAS encoder based on 3GPP TTCN files. However it specifies length fields as octetstrings, such as Type4Length_Type and Type6Length_Type (which are the typedefs of octetstrings).
For example in the following structure:
~~~
type record ESM_MessageContainer { /* 24.301 cl. 9.9.3.15 */
IEI8_Type iei optional, /* present in case of TLV; omit in case of LV */
Type6Length_Type iel,
octetstring esmPdu /* ESM PDU without NAS security header*/
};
~~~
Here the field 'iel' specifies the length of 'esmPdu'.
But, Titan doesn't allow to use non-integer field in LENGTHTO variant with the following error:
`error: The LENGTHTO field must be an integer or union type instead of 'octetstring'`
Is there any chance to have a fix for this issue (to be able to use octetstring in LENGTHTO) ?Adam KnappAdam Knapp2022-05-04https://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/371Syntax highlight based on semantic information in Designer - phase 12022-05-04T05:28:38ZEclipse WebmasterSyntax highlight based on semantic information in Designer - phase 1## Submitted by Kristof Szabados
**[Link to original bug (#568519)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=568519)**
## Description
Currently the syntax highlight in the Designer is purely based on keywords matching...## Submitted by Kristof Szabados
**[Link to original bug (#568519)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=568519)**
## Description
Currently the syntax highlight in the Designer is purely based on keywords matching on literals and regular expression matching on comments.
As we now have a semantic database, that is always up-to-date, it would be much better for the user if we could use the information from this database to enhance the visual presentation of source code.
For example display the names of constants with bold blue letters and the names of variables with light blue letters.
Formal parameters could also use a different hue, to make pop more easily inside functions/altstep/testcases.
etc...
Version: 7.1.0
Tasks:
- [x] Implement preference page for configuring semantic highlighting stylesMiklos MagyariMiklos Magyari2022-05-04https://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/463Uplift minimum Java version from 1.6 to 1.82022-05-04T05:27:41ZAdam KnappUplift minimum Java version from 1.6 to 1.8Based on users' feedbacks and our internal Ericsson usage statistics we decided to uplift the minimum Java version from 1.6 to 1.8 to access more advanced language features. This means that from the next release Java 1.8 will be required...Based on users' feedbacks and our internal Ericsson usage statistics we decided to uplift the minimum Java version from 1.6 to 1.8 to access more advanced language features. This means that from the next release Java 1.8 will be required to use the Eclipse plugins. (Of course the minimum requirement of older releases are not affected.)Adam KnappAdam Knapp2022-04-05https://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/457Remove trailing whitespaces when saving a file2022-05-04T05:26:27ZMiklos MagyariRemove trailing whitespaces when saving a fileVscode has an option to trim trailing whitespaces automatically when saving a file.
We have received a user suggestion to implement this feature in our eclipse plugin.Vscode has an option to trim trailing whitespaces automatically when saving a file.
We have received a user suggestion to implement this feature in our eclipse plugin.Miklos MagyariMiklos Magyari2022-05-04https://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/468Provide more details about the compiler integration2022-05-04T05:25:43ZAdam KnappProvide more details about the compiler integrationFor the Eclipse plugins, the path of the Titan compiler have to be set, if someone wants to build C/C++ based projects.
When the path and the compiler is validated, the `compiler -v` command is executed. However, in many cases the return...For the Eclipse plugins, the path of the Titan compiler have to be set, if someone wants to build C/C++ based projects.
When the path and the compiler is validated, the `compiler -v` command is executed. However, in many cases the return value of this command indicates an error, which result in the `The version of the compiler used: could not be determined` message.
So it would be beneficial, if the users could get more information what could be wrong without leaving the Eclipse IDE. A button could be added that is able show the output of the aforementioned command in a simple pop-up window.Adam KnappAdam Knapp2022-05-04https://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/464Implement doc comment generator2022-05-04T05:25:23ZMiklos MagyariImplement doc comment generatorRight now, doc comments are fully hand written.
We should implement doc comment auto generation (either as hotkey/context menu function and/or as an AutoEditStrategy).
Doc comment skeleton should be generated for the following elements:...Right now, doc comments are fully hand written.
We should implement doc comment auto generation (either as hotkey/context menu function and/or as an AutoEditStrategy).
Doc comment skeleton should be generated for the following elements:
- [x] altstep definitions
- [x] constant and variable definitions
- [x] function definitions
- [x] type definitions
- [x] module parameter and module template parameter definitions
- [x] port definitions
- [x] timer definitions
- [x] test cases
- [x] template definitions
- [X] module names
- [x] groups
- [x] control parts2022-05-04https://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/460Implement bracket pair colorizer2022-05-04T05:24:40ZMiklos MagyariImplement bracket pair colorizerImplement bracket pair colorizerImplement bracket pair colorizerMiklos MagyariMiklos Magyari2022-05-04https://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/459Improve content assist - phase 12022-05-04T05:24:13ZMiklos MagyariImprove content assist - phase 1Improve content assist processor to provide better/more relevant suggestions
Use cases for proposing:
- [x] module names after "import from"
- [x] module names after "friend module"
- [x] component types where they are relevant, e.g. af...Improve content assist processor to provide better/more relevant suggestions
Use cases for proposing:
- [x] module names after "import from"
- [x] module names after "friend module"
- [x] component types where they are relevant, e.g. after "runs on", "system"
- [x] matching/compatible type variables/constants/functions etc. from the visible scope for the right side of an assignment
- [x] matching/compatible type variables/constants/functions etc. from the visible scope for function parameter
- [x] the enumerated items of the matching type for the right side of an assignment
- [x] tags in doc comment section
Generic tasks:
- [x] handle performance issues if a very long list of proposals is generated2022-05-04