Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olekscode/identifiernamesplitter
A tool for splitting identifier names into separate words, numbers, and symbols. For example, 'aName_AST42:' gets separated into 'a', 'Name', '_', 'AST', '42', and ':'
https://github.com/olekscode/identifiernamesplitter
code-analysis identifier identifier-names pharo smalltalk static-code-analysis
Last synced: 7 days ago
JSON representation
A tool for splitting identifier names into separate words, numbers, and symbols. For example, 'aName_AST42:' gets separated into 'a', 'Name', '_', 'AST', '42', and ':'
- Host: GitHub
- URL: https://github.com/olekscode/identifiernamesplitter
- Owner: olekscode
- License: mit
- Created: 2019-09-10T16:03:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T10:31:45.000Z (almost 5 years ago)
- Last Synced: 2024-10-31T06:41:57.230Z (about 2 months ago)
- Topics: code-analysis, identifier, identifier-names, pharo, smalltalk, static-code-analysis
- Language: Smalltalk
- Size: 16.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Identifier Name Splitter for Pharo
[![Build Status](https://travis-ci.org/olekscode/IdentifierNameSplitter.svg?branch=master)](https://travis-ci.org/olekscode/IdentifierNameSplitter)
[![Build status](https://ci.appveyor.com/api/projects/status/2rt11b48vfh7fsbw?svg=true)](https://ci.appveyor.com/project/olekscode/identifiernamesplitter)
[![Coverage Status](https://coveralls.io/repos/github/olekscode/IdentifierNameSplitter/badge.svg?branch=master)](https://coveralls.io/github/olekscode/IdentifierNameSplitter?branch=master)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/olekscode/IdentifierNameSplitter/master/LICENSE)
[![Pharo version](https://img.shields.io/badge/Pharo-6.1-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo version](https://img.shields.io/badge/Pharo-7.0-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo version](https://img.shields.io/badge/Pharo-8.0-%23aac9ff.svg)](https://pharo.org/download)A tool for splitting identifier names into separate words, numbers, and symbols. For example, `aName_AST42:` gets separated into 'a', 'Name', '_', 'AST', '42', and ':'.
## Installation
To install `IdentifierNameSplitter`, go to the Playground (`Ctrl+OW`) in your Pharo image and execute the following Metacello script (select it and press Do-it button or `Ctrl+D`):```smalltalk
Metacello new
baseline: 'IdentifierNameSplitter';
repository: 'github://olekscode/IdentifierNameSplitter/src';
load.
```## How to use?
```Smalltalk
'HelloWorld' splitIdentifierName.
"#(Hello World)"'adaptToCollection:andSend:' splitIdentifierName.
"#(adapt To Collection : and Send :)"'example42' splitIdentifierName.
"#(example '42')"'parseHTTPRequest:' splitIdentifierName.
"#(parse HTTP Request :)"'a_bc>>xy42HTMLEditor:AST++' splitIdentifierName.
"#(a _ bc >> xy '42' HTML Editor : AST ++)"
```